VoiceInteractor.PickOptionRequest.Option.AddSynonym Method

Definition

Overloads

Name Description
AddSynonym(ICharSequence)

Add a synonym term to the option to indicate an alternative way the content may be matched.

AddSynonym(String)

Add a synonym term to the option to indicate an alternative way the content may be matched.

AddSynonym(ICharSequence)

Add a synonym term to the option to indicate an alternative way the content may be matched.

[Android.Runtime.Register("addSynonym", "(Ljava/lang/CharSequence;)Landroid/app/VoiceInteractor$PickOptionRequest$Option;", "", ApiSince=23)]
public Android.App.VoiceInteractor.PickOptionRequest.Option? AddSynonym(Java.Lang.ICharSequence? synonym);
[<Android.Runtime.Register("addSynonym", "(Ljava/lang/CharSequence;)Landroid/app/VoiceInteractor$PickOptionRequest$Option;", "", ApiSince=23)>]
member this.AddSynonym : Java.Lang.ICharSequence -> Android.App.VoiceInteractor.PickOptionRequest.Option

Parameters

synonym
ICharSequence

CharSequence: The synonym that will be matched against what the user speaks, but not displayed.

Returns

This Android.App.VoiceInteractor.PickOptionRequest.Option instance, allowing calls to be chained.

Attributes

Remarks

Add a synonym term to the option to indicate an alternative way the content may be matched.

Android reference for android.app.VoiceInteractor.PickOptionRequest.Option.addSynonym.

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

AddSynonym(String)

Add a synonym term to the option to indicate an alternative way the content may be matched.

public Android.App.VoiceInteractor.PickOptionRequest.Option? AddSynonym(string? synonym);
member this.AddSynonym : string -> Android.App.VoiceInteractor.PickOptionRequest.Option

Parameters

synonym
String

CharSequence: The synonym that will be matched against what the user speaks, but not displayed.

Returns

This Android.App.VoiceInteractor.PickOptionRequest.Option instance, allowing calls to be chained.

Remarks

Add a synonym term to the option to indicate an alternative way the content may be matched.

Android reference for android.app.VoiceInteractor.PickOptionRequest.Option.addSynonym.

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