Voice Constructors

Definition

Overloads

Voice(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Voice(String, Locale, VoiceQuality, VoiceLatency, Boolean, ICollection<String>)

Voice(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Voice (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Speech.Tts.Voice : nativeint * Android.Runtime.JniHandleOwnership -> Android.Speech.Tts.Voice

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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.

Applies to

Voice(String, Locale, VoiceQuality, VoiceLatency, Boolean, ICollection<String>)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Locale;IIZLjava/util/Set;)V", "")]
public Voice (string? name, Java.Util.Locale? locale, Android.Speech.Tts.VoiceQuality quality, Android.Speech.Tts.VoiceLatency latency, bool requiresNetworkConnection, System.Collections.Generic.ICollection<string>? features);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Locale;IIZLjava/util/Set;)V", "")>]
new Android.Speech.Tts.Voice : string * Java.Util.Locale * Android.Speech.Tts.VoiceQuality * Android.Speech.Tts.VoiceLatency * bool * System.Collections.Generic.ICollection<string> -> Android.Speech.Tts.Voice

Parameters

name
String
locale
Locale
quality
VoiceQuality
latency
VoiceLatency
requiresNetworkConnection
Boolean
features
ICollection<String>
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.

Applies to