# RemoteTimeText

## Functions summary

|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/layout/RemoteComposable @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTimeText.composable#RemoteTimeText(androidx.compose.remote.creation.compose.modifier.RemoteModifier,androidx.compose.remote.creation.compose.state.RemoteString,androidx.compose.remote.creation.compose.state.RemoteTextUnit,androidx.compose.remote.creation.compose.text.RemoteFontFamily,androidx.compose.remote.creation.compose.state.RemoteString,androidx.compose.remote.creation.compose.state.RemoteString,androidx.compose.remote.creation.compose.state.RemoteString,androidx.compose.remote.creation.compose.state.RemoteColor,androidx.compose.remote.creation.compose.text.RemoteTextStyle,kotlin.String,androidx.compose.ui.text.font.FontVariation.Settings)( modifier: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/modifier/RemoteModifier, time: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteString, fontSize: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteTextUnit?, fontFamily: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/text/RemoteFontFamily?, leadingText: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteString?, trailingText: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteString?, separator: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteString, color: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor?, style: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/text/RemoteTextStyle, fontFeatureSettings: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, fontVariationSettings: https://developer.android.com/reference/kotlin/androidx/compose/ui/text/font/FontVariation.Settings? )` A remote composable for displaying the time and surrounding text, designed to curve along the top of a circular screen. |

## Functions

### RemoteTimeText

Artifact: [androidx.wear.compose.remote:remote-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/remote/material3/RemoteTimeText.kt+function:RemoteTimeText) Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
@RemoteComposable
@Composable
fun RemoteTimeText(
    modifier: RemoteModifier = RemoteModifier,
    time: RemoteString = RemoteTimeDefaults.defaultTimeString(),
    fontSize: RemoteTextUnit? = null,
    fontFamily: RemoteFontFamily? = null,
    leadingText: RemoteString? = null,
    trailingText: RemoteString? = null,
    separator: RemoteString = "·".rs,
    color: RemoteColor? = null,
    style: RemoteTextStyle = RemoteTimeTextDefaults.TimeTextStyle,
    fontFeatureSettings: String? = null,
    fontVariationSettings: FontVariation.Settings? = null
): Unit
```

A remote composable for displaying the time and surrounding text, designed to curve along the top of a circular screen. This is a remote version of the `TimeText` composable.

`RemoteTimeText` is typically used at the top of the screen and is the remote equivalent of `androidx.wear.compose.material3.TimeText`.

| Parameters |
|---|---|
| `modifier: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/modifier/RemoteModifier = RemoteModifier` | The `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/modifier/RemoteModifier` to be applied to the `RemoteTimeText`. |
| `time: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteString = RemoteTimeDefaults.defaultTimeString()` | The text to display as the time. Defaults to a formatted time string from the remote context. |
| `fontSize: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteTextUnit? = null` | The size of glyphs to use when painting the text. |
| `fontFamily: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/text/RemoteFontFamily? = null` | The font family to be used when rendering the text. |
| `leadingText: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteString? = null` | Text to be displayed before the time, or null if not present. |
| `trailingText: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteString? = null` | Text to be displayed after the time, or null if not present. |
| `separator: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteString = "·".rs` | The separator to be used between the leading/trailing text and the time. Defaults to "·". |
| `color: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor? = null` | The color of the text. Defaults to the `onBackground` color from the current `RemoteMaterialTheme` with its luminance set to 80, matching `androidx.wear.compose.material3.TimeText`. |
| `style: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/text/RemoteTextStyle = RemoteTimeTextDefaults.TimeTextStyle` | The `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/text/RemoteTextStyle` to be applied to the text. Defaults to `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTimeTextDefaults#TimeTextStyle()`. |
| `fontFeatureSettings: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | The font feature settings to be applied to the text. Defaults to `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTimeTextDefaults#FontFeatureSettings()`. |
| `fontVariationSettings: https://developer.android.com/reference/kotlin/androidx/compose/ui/text/font/FontVariation.Settings? = null` | The font variation settings to be applied to the text. Defaults to `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTimeTextDefaults#FontVariationSettings()`. |