Android APIs
public static class

TtsSpan.ElectronicBuilder

extends SemioticClassBuilder<TtsSpan.ElectronicBuilder>
java.lang.Object
   ↳ android.text.style.TtsSpan.Builder<android.text.style.TtsSpan.ElectronicBuilder>
     ↳ android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.ElectronicBuilder>
       ↳ android.text.style.TtsSpan.ElectronicBuilder

Class Overview

A builder for TtsSpans of type TYPE_ELECTRONIC.

Summary

Public Constructors
TtsSpan.ElectronicBuilder()
Creates a TtsSpan of type TYPE_ELECTRONIC.
Public Methods
TtsSpan.ElectronicBuilder setDomain(String domain)
Sets the ARG_DOMAIN argument.
TtsSpan.ElectronicBuilder setEmailArguments(String username, String domain)
Sets the ARG_USERNAME and ARG_DOMAIN arguments, representing an email address.
TtsSpan.ElectronicBuilder setFragmentId(String fragmentId)
Sets the ARG_FRAGMENT_ID argument.
TtsSpan.ElectronicBuilder setPassword(String password)
Sets the ARG_PASSWORD argument.
TtsSpan.ElectronicBuilder setPath(String path)
Sets the ARG_PATH argument.
TtsSpan.ElectronicBuilder setPort(int port)
Sets the ARG_PORT argument.
TtsSpan.ElectronicBuilder setProtocol(String protocol)
Sets the ARG_PROTOCOL argument.
TtsSpan.ElectronicBuilder setQueryString(String queryString)
Sets the ARG_QUERY_STRING argument.
TtsSpan.ElectronicBuilder setUsername(String username)
Sets the ARG_USERNAME argument.
[Expand]
Inherited Methods
From class android.text.style.TtsSpan.SemioticClassBuilder
From class android.text.style.TtsSpan.Builder
From class java.lang.Object

Public Constructors

public TtsSpan.ElectronicBuilder ()

Added in API level 21

Creates a TtsSpan of type TYPE_ELECTRONIC.

Public Methods

public TtsSpan.ElectronicBuilder setDomain (String domain)

Added in API level 21

Sets the ARG_DOMAIN argument.

Parameters
domain The domain, for example "source.android.com".
Returns
  • This instance.

public TtsSpan.ElectronicBuilder setEmailArguments (String username, String domain)

Added in API level 21

Sets the ARG_USERNAME and ARG_DOMAIN arguments, representing an email address.

Parameters
username The part before the @ in the email address.
domain The part after the @ in the email address.
Returns
  • This instance.

public TtsSpan.ElectronicBuilder setFragmentId (String fragmentId)

Added in API level 21

Sets the ARG_FRAGMENT_ID argument.

Returns
  • This instance.

public TtsSpan.ElectronicBuilder setPassword (String password)

Added in API level 21

Sets the ARG_PASSWORD argument.

Returns
  • This instance.

public TtsSpan.ElectronicBuilder setPath (String path)

Added in API level 21

Sets the ARG_PATH argument.

Parameters
path For example "source/index.html".
Returns
  • This instance.

public TtsSpan.ElectronicBuilder setPort (int port)

Added in API level 21

Sets the ARG_PORT argument.

Returns
  • This instance.

public TtsSpan.ElectronicBuilder setProtocol (String protocol)

Added in API level 21

Sets the ARG_PROTOCOL argument.

Parameters
protocol The protocol of the URI. Examples are "http" and "ftp".
Returns
  • This instance.

public TtsSpan.ElectronicBuilder setQueryString (String queryString)

Added in API level 21

Sets the ARG_QUERY_STRING argument.

Parameters
queryString For example "arg=value&argtwo=value".
Returns
  • This instance.

public TtsSpan.ElectronicBuilder setUsername (String username)

Added in API level 21

Sets the ARG_USERNAME argument.

Returns
  • This instance.