PublishOptions

public final class PublishOptions extends Object

Options for calls to Messages.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();
 

Nested Class Summary

class PublishOptions.Builder Builder for instances of PublishOptions

Field Summary

public static final PublishOptions DEFAULT

Public Method Summary

PublishCallback
getCallback()
Gets the publishing callback.
Strategy
getStrategy()
Gets the publishing strategy.

Inherited Method Summary

Fields

public static final PublishOptions DEFAULT

Public Methods

public PublishCallback getCallback ()

Gets the publishing callback.

public Strategy getStrategy ()

Gets the publishing strategy.