com.arm.mbed.cloud.sdk.subscribe.store.SubscriptionAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mbed-cloud-sdk Show documentation
Show all versions of mbed-cloud-sdk Show documentation
The Pelion Cloud SDK (formerly known as Mbed Cloud SDK) provides a simplified interface to the Pelion Cloud APIs by exposing functionality using conventions and paradigms familiar to Java developers.
package com.arm.mbed.cloud.sdk.subscribe.store;
import com.arm.mbed.cloud.sdk.annotations.Preamble;
import com.arm.mbed.cloud.sdk.common.CallbackWithException;
import com.arm.mbed.cloud.sdk.common.MbedCloudException;
import com.arm.mbed.cloud.sdk.common.listing.FilterOptions;
import com.arm.mbed.cloud.sdk.subscribe.model.FirstValue;
@Preamble(description = "Action performed during the subscription process")
public interface SubscriptionAction extends CallbackWithException, Cloneable {
/**
* Clones this action.
*
* @return a clone of this action
*/
SubscriptionAction clone();
/**
* Sets the first value mode.
*
* @see FirstValue
* @param firstValueMode
* the mode to set
* @return this action
*/
SubscriptionAction mode(FirstValue firstValueMode);
/**
* Sets the first value mode.
*
* @see FirstValue
* @param mode
* the mode to set
*/
void setMode(FirstValue mode);
}