Interface UM_IPermission
Service permission state model. See the UM_Permissions entry point for more info.
Namespace: SA.CrossPlatform.App
Assembly: cs.temp.dll.dll
Syntax
public interface UM_IPermission
Methods
RequestAccess(Action<UM_AuthorizationStatus>)
Requests the user’s permission, if needed.
After the user grants permission, the system remembers the choice for future use in your app, but the user can change this choice at any time using the Settings app. If user denied your app access, this choice will also be remembered and attempt to call RequestAccess again will not display any permission prompt and failed result will be fired immediately.
Declaration
void RequestAccess(Action<UM_AuthorizationStatus> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<UM_AuthorizationStatus> | callback | Callback fired upon determining your app’s authorization to access requested permission. |