CreateChannel

Functions

Link copied to clipboard
abstract fun async(callback: Consumer<Result<Output>>)
Link copied to clipboard
abstract fun channelId(@Nullable channelId: @Nullable String): CreateChannel
Optional channel identifier.
Link copied to clipboard
abstract fun classLevel(@Nullable classLevel: @Nullable PNDataSyncClassLevel): CreateChannel
Optional level at which the entity class is defined.
Link copied to clipboard
abstract fun className(@Nullable className: @Nullable String): CreateChannel
Optional entity class identifier.
Link copied to clipboard
Link copied to clipboard
abstract fun overrideConfiguration(configuration: PNConfiguration): Endpoint<T>

Allows to override certain configuration options (see com.pubnub.api.v2.PNConfigurationOverride.Builder) for this request only.

Link copied to clipboard
abstract fun payload(@Nullable payload: @Nullable Map<String, Any>): CreateChannel
Optional arbitrary JSON object payload.
Link copied to clipboard
abstract fun retry()
Link copied to clipboard
abstract fun silentCancel()
Link copied to clipboard
abstract fun status(@Nullable status: @Nullable String): CreateChannel
Optional channel status.
Link copied to clipboard
abstract fun sync(): Output