Summary: Constants | Inherited Methods | [Expand All]
public abstract @interface

# NearbyPermissions

implements Annotation

com.google.android.gms.nearby.messages.NearbyPermissions

## Class Overview

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.

## Summary

Constants
int | BLE |
int | BLUETOOTH |
int | DEFAULT |
int | MICROPHONE |

[Expand] Inherited Methods
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation> | annotationType()
abstract boolean | equals(Object arg0)
abstract int | hashCode()
abstract String | toString()

## Constants

#### public static final int BLE

Constant Value: 2 (0x00000002)

#### public static final int BLUETOOTH

Constant Value: 6 (0x00000006)

#### public static final int DEFAULT

Constant Value: -1 (0xffffffff)

#### public static final int MICROPHONE

Constant Value: 1 (0x00000001)