os_intents_platform_interface library

Classes

OsIntentsPlatform
The contract every platform implementation fulfils.

Typedefs

EntityQueryHandler = Future<List<Map<String, Object?>>> Function(String method, Map<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<String, Object?>> Function(String id, Map<String, Object?> args)
Called when the OS invokes an intent. Returns the wire form of an IntentResult.