ContinuationCluster.Builder


class ContinuationCluster.Builder


Builder class for ContinuationCluster.

Summary

Public constructors

Public functions

ContinuationCluster.Builder!

Adds display time windows for the continuation cluster.

ContinuationCluster.Builder!

Adds a display time window for the continuation cluster.

ContinuationCluster.Builder!

Add an Entity.

ContinuationCluster!
ContinuationCluster.Builder!

Sets the account profile for a user to the BaseCluster.

ContinuationCluster.Builder!

Set the flag to allow sync the cluster across devices.

Public constructors

Builder

Builder()

Public functions

addAllDisplayTimeWindow

@CanIgnoreReturnValue
fun addAllDisplayTimeWindow(
    displayTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): ContinuationCluster.Builder!

Adds display time windows for the continuation cluster.

Optional.

addDisplayTimeWindow

@CanIgnoreReturnValue
fun addDisplayTimeWindow(displayTimeWindow: DisplayTimeWindow!): ContinuationCluster.Builder!

Adds a display time window for the continuation cluster.

Optional.

addEntity

@CanIgnoreReturnValue
fun addEntity(entity: Entity!): ContinuationCluster.Builder!

Add an Entity.

Required.

build

fun build(): ContinuationCluster!

setAccountProfile

@CanIgnoreReturnValue
fun setAccountProfile(accountProfile: AccountProfile!): ContinuationCluster.Builder!

Sets the account profile for a user to the BaseCluster. This will be used to uniquely identify a user account and/or a profile.

Optional.

setSyncAcrossDevices

@CanIgnoreReturnValue
fun setSyncAcrossDevices(syncAcrossDevices: Boolean): ContinuationCluster.Builder!

Set the flag to allow sync the cluster across devices. For example, if this is set to true, the video continuation cluster will be shared across all user devices on the "watch next" row.

Optional.