public final classPublishOptionsextendsObject
Options for calls to
Messages.publish(GoogleApiClient, Message)
.
Use thePublishOptions.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 ofPublishOptions . |
Field Summary
public static finalPublishOptions | 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
publicPublishCallback getCallback()
Gets the publishing callback.
publicStrategy getStrategy()
Gets the publishing strategy.