onIntentExecution property

  1. @override
Stream<IntentExecutionRequest> get onIntentExecution
override

A stream of intent execution requests from the native platform.

This stream emits IntentExecutionRequest objects whenever iOS triggers an intent execution. Use this for reactive programming patterns or when you need to handle intents outside of the registered handler pattern.

Example:

AppIntentsPlatform.instance.onIntentExecution.listen((request) {
  print('Intent ${request.identifier} executed with ${request.params}');
});

Implementation

@override
Stream<IntentExecutionRequest> get onIntentExecution =>
    _intentExecutionController.stream;