public final class

TimelineBuilders.TimeInterval.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.TimelineBuilders.TimeInterval.Builder

Overview

Builder for TimelineBuilders.TimeInterval

Summary

Constructors
publicBuilder()

Creates an instance of TimelineBuilders.TimeInterval.Builder.

Methods
public TimelineBuilders.TimeIntervalbuild()

Builds an instance from accumulated values.

public TimelineBuilders.TimeInterval.BuildersetEndMillis(long endMillis)

Sets end point of the time interval, in milliseconds since the Unix epoch.

public TimelineBuilders.TimeInterval.BuildersetStartMillis(long startMillis)

Sets starting point of the time interval, in milliseconds since the Unix epoch.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Creates an instance of TimelineBuilders.TimeInterval.Builder.

Methods

public TimelineBuilders.TimeInterval.Builder setStartMillis(long startMillis)

Sets starting point of the time interval, in milliseconds since the Unix epoch.

public TimelineBuilders.TimeInterval.Builder setEndMillis(long endMillis)

Sets end point of the time interval, in milliseconds since the Unix epoch.

Builds an instance from accumulated values.