Package com.orange.webcom.sdk.datasync.subscription

Exposes subscription-related classes and functions of the datasync service.

Types

Link copied to clipboard
enum CancelationPolicy : Enum<CancelationPolicy>

Represents the policy to apply to the data stored within the local cache that are watched by a subscription, when canceling this subscription. This data may be either kept, kept and still updated (as long as the network connectivity is up) after the cancelation, or cleared from the local cache.

Link copied to clipboard
sealed class Constraint : Js.Referable

Represents constraints on the values of data nodes sent by subscriptions.

Link copied to clipboard
interface DatasyncEvent : Notifiable

Base type for all events that can be subscribed or notified from the DatasyncService.

Link copied to clipboard
data class DatasyncState : DatasyncEvent, Notification.DataNotification<DatasyncState>

Represents some state indicators about a DatasyncService instance.

Link copied to clipboard
class LongTermSubscription : SubscriptionImpl

Represents a long term subscription to data events on data nodes of the ServerlessDb service.

Link copied to clipboard
sealed class PushNotificationEvent : DatasyncEvent

Represents an event raised in response to a Subscription, to be received through the mobile push notification channel of the user device, and previously subscribed using one of the Subscriber.subscribeThroughPushNotification methods.

Link copied to clipboard
interface SubscribableEvent : DatasyncEvent

Represents a type of DatasyncEvent to subscribe to.

Link copied to clipboard
abstract class Subscriber

Base class for all subscription-related methods.

Link copied to clipboard
data class SubscriptionOptions @JvmOverloads constructor(val includesAcknowledgements: Boolean = false, val completionPolicy: CancelationPolicy? = null)

Represents some options to customize the behavior of a subscription that receives notifications through a callback function.