public final class ThreadNetworkClientOptions extends Object
implements Parcelable Api.ApiOptions.Optional
implements Parcelable Api.ApiOptions.Optional
The options for ThreadNetworkClient
.
Nested Class Summary
interface | ThreadNetworkClientOptions.Builder | Builder for
ThreadNetworkClientOptions . |
Constant Summary
int | CONSENT_DIALOG_STYLE_DEFAULT | The default credentials sharing consent dialog style. |
Inherited Constant Summary
Field Summary
public static final Creator<ThreadNetworkClientOptions> | CREATOR | |
public static final ThreadNetworkClientOptions | DEFAULT | The default options equal to
newBuilder().build() . |
Inherited Field Summary
Public Method Summary
boolean | |
IntentSender |
getConsentDialogIntent()
Returns the
IntentSender
to be used for the dialog styles other than
CONSENT_DIALOG_STYLE_DEFAULT .
|
int |
getConsentDialogStyle()
Returns the style for the credentials sharing consent dialog.
|
int |
hashCode()
|
static ThreadNetworkClientOptions.Builder |
newBuilder()
Creates a new builder for
ThreadNetworkClientOptions .
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Constants
public static final int CONSENT_DIALOG_STYLE_DEFAULT
The default credentials sharing consent dialog style.
Constant Value: 0
Fields
public static final Creator<ThreadNetworkClientOptions> CREATOR
public static final ThreadNetworkClientOptions DEFAULT
The default options equal to newBuilder().build()
.
Public Methods
public boolean equals (Object other)
public IntentSender getConsentDialogIntent ()
Returns the IntentSender
to be used for the dialog styles other than
CONSENT_DIALOG_STYLE_DEFAULT
.
public int getConsentDialogStyle ()
Returns the style for the credentials sharing consent dialog.
public int hashCode ()
public static ThreadNetworkClientOptions.Builder newBuilder ()
Creates a new builder for
ThreadNetworkClientOptions
.