ConnectionType

Stay organized with collections Save and categorize content based on your preferences.
public abstract @interface ConnectionType implements Annotation

The connection type which Nearby Connection used to establish a connection.

Constant Summary

int BALANCED Nearby Connections will change the device's Wi-Fi or Bluetooth status only if necessary.
int DISRUPTIVE Nearby Connections will change the device's Wi-Fi or Bluetooth status to enhance throughput.
int NON_DISRUPTIVE Nearby Connections should not change the device's Wi-Fi or Bluetooth status.

Inherited Method Summary

Constants

public static final int BALANCED

Nearby Connections will change the device's Wi-Fi or Bluetooth status only if necessary.

Constant Value: 0

public static final int DISRUPTIVE

Nearby Connections will change the device's Wi-Fi or Bluetooth status to enhance throughput. This may cause the device to lose its internet connection.

Constant Value: 1

public static final int NON_DISRUPTIVE

Nearby Connections should not change the device's Wi-Fi or Bluetooth status.

Constant Value: 2