Class

RemoteComposable

An annotation that can be used to mark a composable function as being expected to be used in a composable function that is also marked or inferred to be marked as a RemoteComposable.

Source set: JvmAndAndroid
@Target(
    AnnotationTarget.FUNCTION,
    AnnotationTarget.PROPERTY_GETTER,
    AnnotationTarget.TYPE,
    AnnotationTarget.TYPE_PARAMETER,
)
public annotation class RemoteComposable

An annotation that can be used to mark a composable function as being expected to be used in a composable function that is also marked or inferred to be marked as a RemoteComposable.

Content marked with RemoteComposable will be recorded into a Remote Compose document during the recording phase. This document can then be transmitted and played back by a Remote Compose Player, potentially on a different device or process.

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: