public final class

DeviceParametersProto.Capabilities.Builder

extends <any>

implements DeviceParametersProto.CapabilitiesOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DeviceParametersProto.Capabilities.Builder

Overview

 Capabilities describing the features that the renderer supports. These
 features are not necessarily tied to a specific schema version. Layout
 providers can use these information to conditionally generate different
 layouts based on the presence/value of a feature.
 
Protobuf type androidx.wear.protolayout.proto.Capabilities

Summary

Methods
public DeviceParametersProto.Capabilities.BuilderclearMinimumFreshnessLimitMillis()

 Current minimum freshness limit in milliseconds for a layout.

public longgetMinimumFreshnessLimitMillis()

 Current minimum freshness limit in milliseconds for a layout.

public DeviceParametersProto.Capabilities.BuildersetMinimumFreshnessLimitMillis(long value)

 Current minimum freshness limit in milliseconds for a layout.

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

Methods

public long getMinimumFreshnessLimitMillis()

 Current minimum freshness limit in milliseconds for a layout. This can
 change based on various factors. Any freshness request lower than the
 current limit will be replaced by that limit. A value of 0 here signifies
 that the minimum freshness limit in unknown.
 
uint64 minimum_freshness_limit_millis = 1;

Returns:

The minimumFreshnessLimitMillis.

public DeviceParametersProto.Capabilities.Builder setMinimumFreshnessLimitMillis(long value)

 Current minimum freshness limit in milliseconds for a layout. This can
 change based on various factors. Any freshness request lower than the
 current limit will be replaced by that limit. A value of 0 here signifies
 that the minimum freshness limit in unknown.
 
uint64 minimum_freshness_limit_millis = 1;

Parameters:

value: The minimumFreshnessLimitMillis to set.

Returns:

This builder for chaining.

public DeviceParametersProto.Capabilities.Builder clearMinimumFreshnessLimitMillis()

 Current minimum freshness limit in milliseconds for a layout. This can
 change based on various factors. Any freshness request lower than the
 current limit will be replaced by that limit. A value of 0 here signifies
 that the minimum freshness limit in unknown.
 
uint64 minimum_freshness_limit_millis = 1;

Returns:

This builder for chaining.