Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.datasync / DatasyncService / createManager

createManager

fun createManager(policy: SubscriptionCancellationPolicy = SubscriptionCancellationPolicy.KeepUpdatingDataWhenImplicit): DatasyncManager

Asks the DatasyncService to create a new DatasyncManager instance. The passed policy controls how the cached data is managed when subscriptions to data events (to be created using the DatasyncNode.subscribe method) are cancelled.