Google is committed to advancing racial equity for Black communities. See how.

SubscribeOptions

public final class SubscribeOptions extends Object

Options for calls to Messages.subscribe(GoogleApiClient, PendingIntent).

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

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

Nested Class Summary

class SubscribeOptions.Builder Builder for instances of SubscribeOptions

Field Summary

public static final SubscribeOptions DEFAULT

Public Method Summary

SubscribeCallback
getCallback()
Gets the subscription callback.
MessageFilter
getFilter()
Gets the subscription filter.
Strategy
getStrategy()
Gets the subscription strategy.
String

Inherited Method Summary

Fields

public static final SubscribeOptions DEFAULT

Public Methods

public SubscribeCallback getCallback ()

Gets the subscription callback.

public MessageFilter getFilter ()

Gets the subscription filter.

public Strategy getStrategy ()

Gets the subscription strategy.

public String toString ()