Most visited

Recently visited

Added in API level 21

TtsSpan.ElectronicBuilder

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


类型为TYPE_ELECTRONICTYPE_ELECTRONIC构建器。

Summary

Public constructors

TtsSpan.ElectronicBuilder()

创建一个类型为TYPE_ELECTRONICTYPE_ELECTRONIC

Public methods

TtsSpan.ElectronicBuilder setDomain(String domain)

设置 ARG_DOMAIN参数。

TtsSpan.ElectronicBuilder setEmailArguments(String username, String domain)

设置表示电子邮件地址的参数 ARG_USERNAMEARG_DOMAIN

TtsSpan.ElectronicBuilder setFragmentId(String fragmentId)

设置 ARG_FRAGMENT_ID参数。

TtsSpan.ElectronicBuilder setPassword(String password)

设置 ARG_PASSWORD参数。

TtsSpan.ElectronicBuilder setPath(String path)

设置 ARG_PATH参数。

TtsSpan.ElectronicBuilder setPort(int port)

设置 ARG_PORT参数。

TtsSpan.ElectronicBuilder setProtocol(String protocol)

设置 ARG_PROTOCOL参数。

TtsSpan.ElectronicBuilder setQueryString(String queryString)

设置 ARG_QUERY_STRING参数。

TtsSpan.ElectronicBuilder setUsername(String username)

设置 ARG_USERNAME参数。

Inherited methods

From class android.text.style.TtsSpan.SemioticClassBuilder
From class android.text.style.TtsSpan.Builder
From class java.lang.Object

Public constructors

TtsSpan.ElectronicBuilder

Added in API level 21
TtsSpan.ElectronicBuilder ()

创建一个TYPE_ELECTRONIC类型的 TYPE_ELECTRONIC

Public methods

setDomain

Added in API level 21
TtsSpan.ElectronicBuilder setDomain (String domain)

设置 ARG_DOMAIN参数。

Parameters
domain String: The domain, for example "source.android.com".
Returns
TtsSpan.ElectronicBuilder This instance.

setEmailArguments

Added in API level 21
TtsSpan.ElectronicBuilder setEmailArguments (String username, 
                String domain)

设置表示电子邮件地址的参数 ARG_USERNAMEARG_DOMAIN

Parameters
username String: The part before the @ in the email address.
domain String: The part after the @ in the email address.
Returns
TtsSpan.ElectronicBuilder This instance.

setFragmentId

Added in API level 21
TtsSpan.ElectronicBuilder setFragmentId (String fragmentId)

设置 ARG_FRAGMENT_ID参数。

Parameters
fragmentId String
Returns
TtsSpan.ElectronicBuilder This instance.

setPassword

Added in API level 21
TtsSpan.ElectronicBuilder setPassword (String password)

设置 ARG_PASSWORD参数。

Parameters
password String
Returns
TtsSpan.ElectronicBuilder This instance.

setPath

Added in API level 21
TtsSpan.ElectronicBuilder setPath (String path)

设置 ARG_PATH参数。

Parameters
path String: For example "source/index.html".
Returns
TtsSpan.ElectronicBuilder This instance.

setPort

Added in API level 21
TtsSpan.ElectronicBuilder setPort (int port)

设置 ARG_PORT参数。

Parameters
port int
Returns
TtsSpan.ElectronicBuilder This instance.

setProtocol

Added in API level 21
TtsSpan.ElectronicBuilder setProtocol (String protocol)

设置 ARG_PROTOCOL参数。

Parameters
protocol String: The protocol of the URI. Examples are "http" and "ftp".
Returns
TtsSpan.ElectronicBuilder This instance.

setQueryString

Added in API level 21
TtsSpan.ElectronicBuilder setQueryString (String queryString)

设置 ARG_QUERY_STRING参数。

Parameters
queryString String: For example "arg=value&argtwo=value".
Returns
TtsSpan.ElectronicBuilder This instance.

setUsername

Added in API level 21
TtsSpan.ElectronicBuilder setUsername (String username)

设置 ARG_USERNAME参数。

Parameters
username String
Returns
TtsSpan.ElectronicBuilder This instance.

Hooray!