Unlock enum

Whether an intent can run while the device is locked (App Intents' IntentAuthenticationPolicy).

@AssistantActionsApp(name: 'Journal', requiresUnlock: Unlock.required)
Inheritance
Available extensions

Values

notRequired → const Unlock

It runs on a locked device too (.alwaysAllowed, Apple's default).

required → const Unlock

The user unlocks the device first (.requiresAuthentication).

onThisDevice → const Unlock

The user unlocks the device that runs it (.requiresLocalDeviceAuthentication), so it can't run for a request from another device, such as a HomePod or a paired Apple Watch, while the iPhone is locked.

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<Unlock>
A constant List of the values in this enum, in order of their declaration.