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 created using the AuthenticationService.subscribe method.

Functions

cancel

fun cancel(): Unit

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