VoiceInteractionSession.RequestDirectActions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests a list of supported actions from an app.
[Android.Runtime.Register("requestDirectActions", "(Landroid/service/voice/VoiceInteractionSession$ActivityId;Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=29)]
public void RequestDirectActions (Android.Service.Voice.VoiceInteractionSession.ActivityId activityId, Android.OS.CancellationSignal? cancellationSignal, Java.Util.Concurrent.IExecutor resultExecutor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("requestDirectActions", "(Landroid/service/voice/VoiceInteractionSession$ActivityId;Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=29)>]
member this.RequestDirectActions : Android.Service.Voice.VoiceInteractionSession.ActivityId * Android.OS.CancellationSignal * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
Parameters
- activityId
- VoiceInteractionSession.ActivityId
Ths activity id of the app to get the actions from.
- cancellationSignal
- CancellationSignal
A signal to cancel the operation in progress,
or null
if none.
- resultExecutor
- IExecutor
The handler to receive the callback
- callback
- IConsumer
The callback to receive the response
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.