setAuthorizationStateChangedCallback

Registers a callback to be called when an authorization state changes. The supplied Callback will be called on the application UI thread when user is logged in or logged out. Important note: this callback will be called AFTER the authorization callback supplied to authorize.

If you are looking for a synchronous way to get authorization state, use authorizationState property instead.

Return

a CallbackReference handle to remove the callback later.

See also