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

PublishOptions.Builder

public static class PublishOptions.Builder extends Object

Builder for instances of PublishOptions.

Public Constructor Summary

Public Method Summary

PublishOptions
build()
Builds an instance of PublishOptions.
PublishOptions.Builder
setCallback(PublishCallback callback)
Sets a callback which will be notified when significant events occur that affect this publish.
PublishOptions.Builder
setStrategy(Strategy strategy)
Sets the strategy for publishing.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public PublishOptions build ()

Builds an instance of PublishOptions.

public PublishOptions.Builder setCallback (PublishCallback callback)

Sets a callback which will be notified when significant events occur that affect this publish.

public PublishOptions.Builder setStrategy (Strategy strategy)

Sets the strategy for publishing. The default if not explicitly set is Strategy.DEFAULT.