diff --git a/api/ai/ui/com.google.android.horologist.ai.ui.components/-failed-response-chip.html b/api/ai/ui/com.google.android.horologist.ai.ui.components/-failed-response-chip.html new file mode 100644 index 0000000000..e610b4cb2f --- /dev/null +++ b/api/ai/ui/com.google.android.horologist.ai.ui.components/-failed-response-chip.html @@ -0,0 +1,76 @@ + + +
+ +A component to display an Answer.
A component to display a Prompt.
A component to display an Answer.
A component to display a Prompt.
A screen to display metrics, e.g. workout metrics. It can display up to four metrics, and it's recommended that at least two metrics should be displayed.
A screen to display metrics, e.g. workout metrics. It can display up to four metrics, and it's recommended that at least two metrics should be displayed.
A base button that can send single onClick event or repeated onLongRepeatableClick events by holding it down.
Code modified from https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Button.kt
A base button that can send single onClick event or repeated onLongRepeatableClick events by holding it down.
Code modified from https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Button.kt
A button that when clicked shows an unbounded ripple effect that can be larger than the button itself.
Code modified from https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Button.kt
A base button that can send single onClick event or repeated onLongRepeatableClick events by holding it down.
A base button that can send single onClick event or repeated onLongRepeatableClick events by holding it down.
A button that when clicked shows an unbounded ripple effect that can be larger than the button itself.
A Wear Material Compliant Pager screen.
Combines the Accompanist Pager, with the Wear Compose HorizontalPageIndicator. Also uses lifecycle, which allows attaching logic such requesting focus to page events.
A Wear Material Compliant Pager screen.
Combines the Compose Foundation Pager, with the Wear Compose HorizontalPageIndicator.
The current page gets the Hierarchical Focus.
A Wear Material Compliant Vertical Page Indicator.
A Wear Material Compliant Vertical Pager screen.
Combines the Compose Foundation Pager, with a VerticalPageIndicator.
The screens gets an onRotaryInputAccumulated modifier added for RSB handling.
A Wear Material Compliant Vertical Page Indicator.
A Wear Material Compliant Vertical Pager screen.
Launch Google Play app, requesting to display app with specified package name.
Launch Google Play app, requesting to display app with specified package name.
Returns the Intent to display an install prompt to the user.
This can be used in Compose with rememberLauncherForActivityResult and ActivityResultLauncher.launch:
val launcher = rememberLauncherForActivityResult(
ActivityResultContracts.StartActivityForResult()
) { result ->
if (result.resultCode == RESULT_OK) {
// user pushed install!
}
}
launcher.launch(getInstallPromptIntent(/*params*/))
It can also be used directly in an ComponentActivity with ComponentActivity.registerForActivityResult:
val launcher = registerForActivityResult(
ActivityResultContracts.StartActivityForResult(),
ActivityResultCallback { result ->
if (result.resultCode == RESULT_OK) {
// user pushed install!
}
)
launcher.launch(getInstallPromptIntent(/*params*/))
Data layer related UI helper features, for use on phones.
Returns the Intent to display an install prompt to the user.
Alternative to showInstallAppPrompt for activities that are not ComponentActivity.
Alternative to showInstallAppPrompt for activities that are not ComponentActivity.
Use requestCode as an option to check in Activity.onActivityResult if the prompt was dismissed (Activity.RESULT_CANCELED).
Data layer related UI helper features, for use on phones.
Create a Flow for the currentMediaItem of a Player using callbacks.
Create a Flow for the currentMediaItem of a Player using callbacks.
Create a Flow for the currentMediaItem of a Player using callbacks.
Create a Flow for the currentMediaItem of a Player using callbacks.
Create a Flow for the isPlaying state of Player using callbacks.
Create a Flow for the isPlaying state of Player using callbacks.
Wait for the Player to leave isPlaying state.
Wait for the Player to leave isPlaying state.
Wait for the Player to reach isPlaying state.
Wait for the Player to reach isPlaying state.
Create a Flow for the isPlaying state of Player using callbacks.
Create a Flow for the isPlaying state of Player using callbacks.
Wait for the Player to leave isPlaying state.
Wait for the Player to leave isPlaying state.
Wait for the Player to reach isPlaying state.
Wait for the Player to reach isPlaying state.
Simple implementation of DownloadManager.Listener for downloading with a required high bandwidth network. Also includes event logging.
Simple implementation of DownloadManager.Listener for downloading with a required high bandwidth network. Also includes event logging.
ListenableFuture to Coroutines adapting base class for MediaLibrarySession.Callback.
Each metho is implemented like for like,
ListenableFuture to Coroutines adapting base class for MediaLibrarySession.Callback.
Each metho is implemented like for like,
Simple implementation of DownloadManager.Listener for downloading with a required high bandwidth network. Also includes event logging.
Simple implementation of DownloadManager.Listener for downloading with a required high bandwidth network. Also includes event logging.
ListenableFuture to Coroutines adapting base class for MediaLibrarySession.Callback.
ListenableFuture to Coroutines adapting base class for MediaLibrarySession.Callback.
A base button for media controls.
A base button for media controls.
A base button for media controls.
A base button for media controls.
A base button for media controls.
A base button for media controls.
A base button for media controls.
A base button for media controls.
Whether the device is considered large screen for layout adjustment purposes.