SpikePermissionsResult enum

Inheritance
Available extensions

Values

granted → const SpikePermissionsResult

User gave all the expected permissions.

grantedPartially → const SpikePermissionsResult

User gave not all permissions requested to process the wanted data type.

canceled → const SpikePermissionsResult

User did not give permissions at all.

blocked → const SpikePermissionsResult

This is applicable to Health Connect only. This means that user canceled giving permissions two times, and Health Connect no longer responds to us when requesting for the permissions.

undefined → const SpikePermissionsResult

This will always be returned on iOS, since there is no way to check if Health Kit actually gave permissions or not. As for Android, this indicates some unexpected error from the Health Connect side.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<SpikePermissionsResult>
A constant List of the values in this enum, in order of their declaration.