DisplayTimeWindow


public final class DisplayTimeWindow


An object representing a display time window.

Summary

Nested types

public final class DisplayTimeWindow.Builder

Builder class for DisplayTimeWindow.

Public methods

Optional<Long>

Returns the end timestamp for the content in epoch milliseconds.

Optional<Long>

Returns the start timestamp for the content in epoch milliseconds.

Public methods

getEndTimestampMillis

public Optional<LonggetEndTimestampMillis()

Returns the end timestamp for the content in epoch milliseconds.

The content will no longer be presented to the surface after the given end timestamp.

getStartTimestampMillis

public Optional<LonggetStartTimestampMillis()

Returns the start timestamp for the content in epoch milliseconds.

The content will only be presented to the surface after the given start timestamp.