com.google.android.gms.nearby.messages.NearbyPermissions |
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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | BLE | ||||||||||
int | BLUETOOTH | ||||||||||
int | DEFAULT | ||||||||||
int | MICROPHONE | ||||||||||
int | NONE |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |