DeviceParametersBuilders.Capabilities


@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public final class DeviceParametersBuilders.Capabilities


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

Summary

Nested types

Builder for Capabilities

Public methods

long

Gets current minimum freshness limit in milliseconds for a layout.

@NonNull String

Public methods

getMinimumFreshnessLimitMillis

Added in 1.0.0
public long getMinimumFreshnessLimitMillis()

Gets 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.

toString

public @NonNull String toString()