Google is committed to advancing racial equity for Black communities. See how.

ConnectionOptions

public final class ConnectionOptions extends Object
implements Parcelable

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
equals(Object other)
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
String
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.

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)