ElectronicBuilder
open class ElectronicBuilder : TtsSpan.SemioticClassBuilder<TtsSpan.ElectronicBuilder!>
kotlin.Any | |||
↳ | android.text.style.TtsSpan.Builder<C> | ||
↳ | android.text.style.TtsSpan.SemioticClassBuilder<android.text.style.TtsSpan.ElectronicBuilder> | ||
↳ | android.text.style.TtsSpan.ElectronicBuilder |
A builder for TtsSpans of type TYPE_ELECTRONIC
.
Summary
Public constructors | |
---|---|
Creates a TtsSpan of type |
Public methods | |
---|---|
open TtsSpan.ElectronicBuilder! |
Sets the |
open TtsSpan.ElectronicBuilder! |
setEmailArguments(username: String!, domain: String!) Sets the |
open TtsSpan.ElectronicBuilder! |
setFragmentId(fragmentId: String!) Sets the |
open TtsSpan.ElectronicBuilder! |
setPassword(password: String!) Sets the |
open TtsSpan.ElectronicBuilder! |
Sets the |
open TtsSpan.ElectronicBuilder! |
Sets the |
open TtsSpan.ElectronicBuilder! |
setProtocol(protocol: String!) Sets the |
open TtsSpan.ElectronicBuilder! |
setQueryString(queryString: String!) Sets the |
open TtsSpan.ElectronicBuilder! |
setUsername(username: String!) Sets the |
Inherited functions | |
---|---|
Public constructors
ElectronicBuilder
ElectronicBuilder()
Creates a TtsSpan of type TYPE_ELECTRONIC
.
Public methods
setDomain
open fun setDomain(domain: String!): TtsSpan.ElectronicBuilder!
Sets the ARG_DOMAIN
argument.
Parameters | |
---|---|
domain |
String!: The domain, for example "source.android.com". |
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |
setEmailArguments
open fun setEmailArguments(
username: String!,
domain: String!
): TtsSpan.ElectronicBuilder!
Sets the ARG_USERNAME
and ARG_DOMAIN
arguments, representing an email address.
Parameters | |
---|---|
username |
String!: The part before the @ in the email address. |
domain |
String!: The part after the @ in the email address. |
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |
setFragmentId
open fun setFragmentId(fragmentId: String!): TtsSpan.ElectronicBuilder!
Sets the ARG_FRAGMENT_ID
argument.
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |
setPassword
open fun setPassword(password: String!): TtsSpan.ElectronicBuilder!
Sets the ARG_PASSWORD
argument.
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |
setPath
open fun setPath(path: String!): TtsSpan.ElectronicBuilder!
Sets the ARG_PATH
argument.
Parameters | |
---|---|
path |
String!: For example "source/index.html". |
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |
setPort
open fun setPort(port: Int): TtsSpan.ElectronicBuilder!
Sets the ARG_PORT
argument.
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |
setProtocol
open fun setProtocol(protocol: String!): TtsSpan.ElectronicBuilder!
Sets the ARG_PROTOCOL
argument.
Parameters | |
---|---|
protocol |
String!: The protocol of the URI. Examples are "http" and "ftp". |
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |
setQueryString
open fun setQueryString(queryString: String!): TtsSpan.ElectronicBuilder!
Sets the ARG_QUERY_STRING
argument.
Parameters | |
---|---|
queryString |
String!: For example "arg=value&argtwo=value". |
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |
setUsername
open fun setUsername(username: String!): TtsSpan.ElectronicBuilder!
Sets the ARG_USERNAME
argument.
Return | |
---|---|
TtsSpan.ElectronicBuilder! |
This instance. |