public abstract @interface NearbyPermissions implements Annotation
Determines the scope of permissions Nearby will ask for at connection time.
Calls to Messages#Publish()
and Messages#Subscribe()
require a
Strategy
that matches the permissions you've requested. For example, attempting to subscribe using
BLE, but only requesting the
MICROPHONE
permission will result in a failure.
Constant Summary
int | BLE | |
int | BLUETOOTH | |
int | DEFAULT | |
int | MICROPHONE | |
int | NONE |
Inherited Method Summary
Constants
public static final int BLE
Constant Value: 2
public static final int BLUETOOTH
Constant Value: 6
public static final int DEFAULT
Constant Value: -1
public static final int MICROPHONE
Constant Value: 1
public static final int NONE
Constant Value: 0