Language

TtsSpan.ElectronicBuilder.SetProtocol(String) Method

Definition

Sets the TtsSpan.ARG_PROTOCOL argument.

[Android.Runtime.Register("setProtocol", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$ElectronicBuilder;", "GetSetProtocol_Ljava_lang_String_Handler")]
public virtual Android.Text.Style.TtsSpan.ElectronicBuilder? SetProtocol(string? protocol);
[<Android.Runtime.Register("setProtocol", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$ElectronicBuilder;", "GetSetProtocol_Ljava_lang_String_Handler")>]
abstract member SetProtocol : string -> Android.Text.Style.TtsSpan.ElectronicBuilder
override this.SetProtocol : string -> Android.Text.Style.TtsSpan.ElectronicBuilder

Parameters

protocol
String

The protocol of the URI. Examples are "http" and "ftp".

Returns

This instance.

Attributes

Remarks

Sets the TtsSpan.ARG_PROTOCOL argument.

Android reference for android.text.style.TtsSpan.ElectronicBuilder.setProtocol.

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