TtsSpan Constructors
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.
Overloads
| Name | Description |
|---|---|
| TtsSpan(Parcel) |
Creates a |
| TtsSpan(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| TtsSpan(String, PersistableBundle) |
Creates a text-to-speech span with the specified type and argument bundle. |
TtsSpan(Parcel)
Creates a TtsSpan from its saved parcel state.
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public TtsSpan(Android.OS.Parcel? src);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Text.Style.TtsSpan : Android.OS.Parcel -> Android.Text.Style.TtsSpan
Parameters
- src
- Parcel
The parcel from which to read the span's saved state.
- 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
TtsSpan(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected TtsSpan(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.TtsSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.TtsSpan
Parameters
- 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
TtsSpan(String, PersistableBundle)
Creates a text-to-speech span with the specified type and argument bundle.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/os/PersistableBundle;)V", "")]
public TtsSpan(string? type, Android.OS.PersistableBundle? args);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/os/PersistableBundle;)V", "")>]
new Android.Text.Style.TtsSpan : string * Android.OS.PersistableBundle -> Android.Text.Style.TtsSpan
Parameters
- type
- String
The text-to-speech span type.
- args
- PersistableBundle
The argument bundle to store in the span.
- 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.