Language

VisibleActivityInfo.ActivityId Property

Definition

Returns the VoiceInteractionSession.ActivityId of this visible activity which can be used to interact with an activity, for example through VoiceInteractionSession.requestDirectActions(VoiceInteractionSession.ActivityId,CancellationSignal,Executor,Consumer).

public Android.Service.Voice.VoiceInteractionSession.ActivityId ActivityId { [Android.Runtime.Register("getActivityId", "()Landroid/service/voice/VoiceInteractionSession$ActivityId;", "", ApiSince=32)] get; }
[<get: Android.Runtime.Register("getActivityId", "()Landroid/service/voice/VoiceInteractionSession$ActivityId;", "", ApiSince=32)>]
member this.ActivityId : Android.Service.Voice.VoiceInteractionSession.ActivityId

Property Value

An activity identifier containing the visible activity's task identifier and assist token.

Attributes

Remarks

Returns the VoiceInteractionSession.ActivityId of this visible activity which can be used to interact with an activity, for example through VoiceInteractionSession.requestDirectActions(VoiceInteractionSession.ActivityId,CancellationSignal,Executor,Consumer).

Android reference for android.service.voice.VisibleActivityInfo.getActivityId.

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.

Applies to