Summary: Nested Classes | Fields | Methods | Inherited Methods | [Expand All]
public final class

# PublishOptions

extends Object

java.lang.Object
↳ | com.google.android.gms.nearby.messages.PublishOptions

## Class Overview

Options for calls to `publish(GoogleApiClient, Message)`.

Use the `PublishOptions.Builder` to create an instance of this class, e.g.:

    PublishOptions options = new PublishOptions.Builder()
           .setStrategy(someStrategy)
           .setCallback(myCallback)
           .build();

## Summary

Nested Classes
class | PublishOptions.Builder | Builder for instances of `PublishOptions`.

Fields
public static final PublishOptions | DEFAULT |

Public Methods
PublishCallback | getCallback()
Strategy | getStrategy()

[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()

## Fields

#### public static final PublishOptions DEFAULT

## Public Methods

#### public PublishCallback getCallback ()

#### public Strategy getStrategy ()