Share via


VoiceInteractionService.DisabledShowContext Property

Definition

Return the value set by #setDisabledShowContext. -or- Set contextual options you would always like to have disabled when a session is shown.

public virtual Android.Service.Voice.ShowFlags DisabledShowContext { [Android.Runtime.Register("getDisabledShowContext", "()I", "GetGetDisabledShowContextHandler", ApiSince=23)] get; [Android.Runtime.Register("setDisabledShowContext", "(I)V", "GetSetDisabledShowContext_IHandler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getDisabledShowContext", "()I", "GetGetDisabledShowContextHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setDisabledShowContext", "(I)V", "GetSetDisabledShowContext_IHandler", ApiSince=23)>]
member this.DisabledShowContext : Android.Service.Voice.ShowFlags with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Return the value set by #setDisabledShowContext.

Java documentation for android.service.voice.VoiceInteractionService.getDisabledShowContext().

Property setter documentation:

Set contextual options you would always like to have disabled when a session is shown. The flags may be any combination of VoiceInteractionSession#SHOW_WITH_ASSIST VoiceInteractionSession.SHOW_WITH_ASSIST and VoiceInteractionSession#SHOW_WITH_SCREENSHOT VoiceInteractionSession.SHOW_WITH_SCREENSHOT.

Java documentation for android.service.voice.VoiceInteractionService.setDisabledShowContext(int).

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