Options for a call to
ConnectionsClient.requestConnection(byte[], String,
ConnectionLifecycleCallback)
.
Nested Class Summary
class | ConnectionOptions.Builder | Builder class for ConnectionOptions. |
Inherited Constant Summary
Field Summary
public static final Creator<ConnectionOptions> | CREATOR |
Public Method Summary
boolean | |
boolean |
getDisruptiveUpgrade()
Gets the disruptive upgrade flag.
|
boolean |
getLowPower()
Gets whether to attempt to connect with the lowest possible power (like BLE) if
true.
|
int |
hashCode()
|
String |
toString()
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<ConnectionOptions> CREATOR
Public Methods
public boolean equals (Object other)
public boolean getDisruptiveUpgrade ()
Gets the disruptive upgrade flag. A disruptive upgrade may disconnect the device from its primary Wi-Fi network, or otherwise modify Wi-Fi and/or BT state to optimize for faster throughput. By default, this option is true.
public boolean getLowPower ()
Gets whether to attempt to connect with the lowest possible power (like BLE) if true. By default, this option is false.