PlatformEventSources.DynamicLayoutUpdateStatus


public final class PlatformEventSources.DynamicLayoutUpdateStatus implements DynamicBuilders.DynamicInt32


Dynamic layout update status value.

Summary

Public methods

static final @NonNull PlatformEventSources.DynamicLayoutUpdateStatus
@RequiresSchemaVersion(major = 1, minor = 600)
constant(int value)

Creates a constant-valued DynamicLayoutUpdateStatus.

static final @NonNull DynamicDataBuilders.DynamicDataValue<@NonNull PlatformEventSources.DynamicLayoutUpdateStatus>
@RequiresSchemaVersion(major = 1, minor = 600)
dynamicDataValueOf(int value)

Creates a value to be provided from a PlatformDataProvider.

Inherited methods

From androidx.wear.protolayout.expression.DynamicBuilders.DynamicInt32
@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
animate()

Returns a DynamicInt32 that is bound to the value of this DynamicInt32 and every time its value is changing, it animates from its current value to the new value.

@NonNull DynamicBuilders.DynamicInt32

Returns a DynamicInt32 that is bound to the value of this DynamicInt32 and every time its value is changing, it animates from its current value to the new value.

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
asFloat()

Convert the value represented by this DynamicInt32 into a DynamicFloat.

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
div(@NonNull DynamicBuilders.DynamicFloat other)

Creates a DynamicFloat containing the result of dividing this DynamicInt32 by a DynamicFloat; As an example, the following is equal to DynamicFloat.constant(1.4f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
div(@NonNull DynamicBuilders.DynamicInt32 other)

Creates a DynamicInt32 containing the result of dividing this DynamicInt32 by another DynamicInt32; As an example, the following is equal to DynamicInt32.constant(1)

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
div(float other)

Creates a DynamicFloat containing the result of dividing this DynamicInt32 by a float; As an example, the following is equal to DynamicFloat.constant(1.4f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
div(int other)

Creates a DynamicInt32 containing the result of dividing this DynamicInt32 by an integer; As an example, the following is equal to DynamicInt32.constant(1)

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
eq(@NonNull DynamicBuilders.DynamicInt32 other)

Returns a DynamicBool that is true if the value of this DynamicInt32 and other are equal, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
eq(int other)

Returns a DynamicBool that is true if the value of this DynamicInt32 and other are equal, otherwise it's false.

@NonNull DynamicBuilders.DynamicString
@RequiresSchemaVersion(major = 1, minor = 200)
format()

Returns a DynamicString that contains the formatted value of this DynamicInt32 (with default formatting parameters).

@NonNull DynamicBuilders.DynamicString

Returns a DynamicString that contains the formatted value of this DynamicInt32.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
gt(@NonNull DynamicBuilders.DynamicInt32 other)

Returns a DynamicBool that is true if the value of this DynamicInt32 is greater than other, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
gt(int other)

Returns a DynamicBool that is true if the value of this DynamicInt32 is greater than other, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
gte(@NonNull DynamicBuilders.DynamicInt32 other)

Returns a DynamicBool that is true if the value of this DynamicInt32 is greater than or equal to other, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
gte(int other)

Returns a DynamicBool that is true if the value of this DynamicInt32 is greater than or equal to other, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
lt(@NonNull DynamicBuilders.DynamicInt32 other)

Returns a DynamicBool that is true if the value of this DynamicInt32 is less than other, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
lt(int other)

Returns a DynamicBool that is true if the value of this DynamicInt32 is less than other, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
lte(@NonNull DynamicBuilders.DynamicInt32 other)

Returns a DynamicBool that is true if the value of this DynamicInt32 is less than or equal to other, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
lte(int other)

Returns a DynamicBool that is true if the value of this DynamicInt32 is less than or equal to other, otherwise it's false.

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
minus(@NonNull DynamicBuilders.DynamicFloat other)

Creates a DynamicFloat containing the result of subtracting a DynamicFloat from this DynamicInt32; As an example, the following is equal to DynamicFloat.constant(1.5f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
minus(@NonNull DynamicBuilders.DynamicInt32 other)

Creates a DynamicInt32 containing the result of subtracting another DynamicInt32 from this DynamicInt32; As an example, the following is equal to DynamicInt32.constant(2)

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
minus(float other)

Creates a DynamicFloat containing the result of subtracting a float from this DynamicInt32; As an example, the following is equal to DynamicFloat.constant(1.5f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
minus(int other)

Creates a DynamicInt32 containing the result of subtracting an integer from this DynamicInt32; As an example, the following is equal to DynamicInt32.constant(2)

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
ne(@NonNull DynamicBuilders.DynamicInt32 other)

Returns a DynamicBool that is true if the value of this DynamicInt32 and other are not equal, otherwise it's false.

@NonNull DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 200)
ne(int other)

Returns a DynamicBool that is true if the value of this DynamicInt32 and other are not equal, otherwise it's false.

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
plus(@NonNull DynamicBuilders.DynamicFloat other)

Creates a DynamicFloat containing the result of adding a DynamicFloat to this DynamicInt32; As an example, the following is equal to DynamicFloat.constant(13.5f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
plus(@NonNull DynamicBuilders.DynamicInt32 other)

Creates a DynamicInt32 containing the result of adding another DynamicInt32 to this DynamicInt32; As an example, the following is equal to DynamicInt32.constant(13)

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
plus(float other)

Creates a DynamicFloat containing the result of adding a float to this DynamicInt32; As an example, the following is equal to DynamicFloat.constant(13.5f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
plus(int other)

Creates a DynamicInt32 containing the result of adding an integer to this DynamicInt32; As an example, the following is equal to DynamicInt32.constant(13)

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
rem(@NonNull DynamicBuilders.DynamicFloat other)

Creates a DynamicFloat containing the reminder of dividing this DynamicInt32 by a DynamicFloat; As an example, the following is equal to DynamicFloat.constant(1.5f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
rem(@NonNull DynamicBuilders.DynamicInt32 other)

Creates a DynamicInt32 containing the reminder of dividing this DynamicInt32 by another DynamicInt32; As an example, the following is equal to DynamicInt32.constant(2)

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
rem(float other)

Creates a DynamicInt32 containing the reminder of dividing this DynamicInt32 by a float; As an example, the following is equal to DynamicFloat.constant(1.5f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
rem(int other)

Creates a DynamicInt32 containing the reminder of dividing this DynamicInt32 by an integer; As an example, the following is equal to DynamicInt32.constant(2)

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
times(@NonNull DynamicBuilders.DynamicFloat other)

Creates a DynamicFloat containing the result of multiplying this DynamicInt32 by a DynamicFloat; As an example, the following is equal to DynamicFloat.constant(38.5f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
times(@NonNull DynamicBuilders.DynamicInt32 other)

Creates a DynamicInt32 containing the result of multiplying this DynamicInt32 by another DynamicInt32; As an example, the following is equal to DynamicInt32.constant(35)

@NonNull DynamicBuilders.DynamicFloat
@RequiresSchemaVersion(major = 1, minor = 200)
times(float other)

Creates a DynamicFloat containing the result of multiplying this DynamicInt32 by a float; As an example, the following is equal to DynamicFloat.constant(38.5f)

@NonNull DynamicBuilders.DynamicInt32
@RequiresSchemaVersion(major = 1, minor = 200)
times(int other)

Creates a DynamicInt32 containing the result of multiplying this DynamicInt32 by an integer; As an example, the following is equal to DynamicInt32.constant(35)

@NonNull byte[]

Serializes the DynamicInt32 into a new byte array that can later be used with fromByteArray.

int
toDynamicInt32ByteArray(@NonNull byte[] byteArray)

Serializes the DynamicInt32 into the provided byte array, returning the amount of bytes written, that can later be used with DynamicInt32.fromByteArray(byteArray, 0, bytesWritten).

int
toDynamicInt32ByteArray(@NonNull byte[] byteArray, int offset, int length)

Serializes the DynamicInt32 into the provided byte array, returning the amount of bytes written, limited by the provided offset and length, that can later be used with DynamicInt32.fromByteArray(byteArray, offset, bytesWritten).

Public methods

constant

Added in 1.4.0-alpha01
@RequiresSchemaVersion(major = 1, minor = 600)
public static final @NonNull PlatformEventSources.DynamicLayoutUpdateStatus constant(int value)

Creates a constant-valued DynamicLayoutUpdateStatus.

dynamicDataValueOf

Added in 1.4.0-alpha01
@RequiresSchemaVersion(major = 1, minor = 600)
public static final @NonNull DynamicDataBuilders.DynamicDataValue<@NonNull PlatformEventSources.DynamicLayoutUpdateStatusdynamicDataValueOf(int value)

Creates a value to be provided from a PlatformDataProvider.