os_intents_platform_interface library
Classes
- OsIntentsPlatform
- The contract every platform implementation fulfils.
Typedefs
-
EntityQueryHandler
= Future<
List< Function(String method, Map<Map< >String, Object?> >String, Object?> args) - Called when the OS resolves an entity — during disambiguation, when filling a Shortcuts parameter, or when turning an identifier back into an object.
-
IntentInvocationHandler
= Future<
Map< Function(String id, Map<String, Object?> >String, Object?> args) -
Called when the OS invokes an intent. Returns the wire form of an
IntentResult.