Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.authentication / AuthenticationSubscription

AuthenticationSubscription

class AuthenticationSubscription

Represents a subscription to changes on the current authentication state.

Instances of such subscriptions are mainly returned by the AuthenticationService.subscribe and DatasyncManager.subscribeToAuthenticationChange methods.

Functions

unsubscribe

fun unsubscribe(): Unit

Cancels this AuthenticationSubscription instance, meaning that the associated callback is released and will be no longer called.