Object

RemoteTimeVariables

Provides access to remote time and animation variables evaluated by the host player.

Source set: Android
public object RemoteTimeVariables

Provides access to remote time and animation variables evaluated by the host player.

Continuous animation and sub-second clock values are represented as RemoteFloat, while discrete wall-clock and calendar fields are represented as RemoteInt.

Properties

animationTime

Source set: Android
public val animationTime: RemoteFloat

The elapsed animation time in seconds since document load as a RemoteFloat.

animationDeltaTime

Source set: Android
public val animationDeltaTime: RemoteFloat

The delta time in seconds since the previous animation frame as a RemoteFloat.

continuousSeconds

Source set: Android
public val continuousSeconds: RemoteFloat

The continuous seconds `0.0, 3600.0) in the current hour as a [RemoteFloat`.

secondOfHour

Source set: Android
public val secondOfHour: RemoteInt

The second of the current hour `0, 3599` as a RemoteInt.

minuteOfDay

Source set: Android
public val minuteOfDay: RemoteInt

The minute of the current day `0, 1439` as a RemoteInt.

hourOfDay

Source set: Android
public val hourOfDay: RemoteInt

The hour of the current day `0, 23` as a RemoteInt.

month

Source set: Android
public val month: RemoteInt

The month of the year `1, 12` (January to December) as a RemoteInt.

dayOfMonth

Source set: Android
public val dayOfMonth: RemoteInt

The day of the month `1, 31` as a RemoteInt.

dayOfWeek

Source set: Android
public val dayOfWeek: RemoteInt

The day of the week `1, 7` (Monday to Sunday) as a RemoteInt.

dayOfYear

Source set: Android
public val dayOfYear: RemoteInt

The day of the year `1, 366` as a RemoteInt.

year

Source set: Android
public val year: RemoteInt

The calendar year (e.g., 2026) as a RemoteInt.

utcOffsetSeconds

Source set: Android
public val utcOffsetSeconds: RemoteInt

The local time zone offset from UTC in seconds as a RemoteInt.

epochSecond

Source set: Android
public val epochSecond: RemoteInt

The elapsed seconds since the Unix epoch as a RemoteInt.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: