RPPermissions class
Requests the OS permissions declared on the sections of a RPConsentDocument.
It is used by RPUIVisualConsentStep when the step has
RPVisualConsentStep.askPermission set to true, but can also be called
directly by an app which wants to ask for a permission outside a consent
flow. The asking itself is done by the app, through requester.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- requester ↔ RPPermissionRequester?
-
Asks the OS for a permission, on behalf of request.
getter/setter pair
Static Methods
-
request(
RPPermissionType type, {List< String> healthDataTypes = const []}) → Future<RPPermissionStatus> -
Asks the OS for
typethrough requester and returns the outcome.