ConsentState enum
Whether the user has agreed to be identified.
Spelled as the other Fingerly SDKs spell it, and sent across the channel by name. pending is the default: the SDK identifies nobody until it is told granted. pending and denied mean the same thing to the SDK (run no source, send nothing, throw FingerlyConsentException) and are kept apart because a consent tool reports them apart.
Values
- granted → const ConsentState
- pending → const ConsentState
- denied → const ConsentState
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
Static Methods
-
tryParse(
Object? value) → ConsentState? - The state a native bridge named, or null when it named none of the three.
Constants
-
values
→ const List<
ConsentState> - A constant List of the values in this enum, in order of their declaration.