java.lang.Object |
↳ |
com.google.android.gms.nearby.messages.MessagesOptions.Builder |
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
MessagesOptions.Builder
()
Public Methods
Sets which NearbyPermissions
are requested for Nearby.
By setting a more restrictive scope of permissions, Nearby will shrink its opt in dialog
appropriately. However, ensure that all the publish and subscribe calls are limited to the
provided scope. Otherwise, api calls will fail with error MISSING_PERMISSIONS
.
Parameters |
permissions |
int
|