Package-level declarations

Types

Link copied to clipboard
typealias AppBackHandler = (enabled: Boolean, onProgress: (Float) -> Unit, onBack: () -> Unit) -> Unit
Link copied to clipboard

ConnectionBanner のアイコン種別。

Link copied to clipboard

ConnectionBanner の遷移先を表す。

Link copied to clipboard

ConnectionBanner の接続状態を表す表示用ステータス。

Link copied to clipboard
data class ConnectionBannerUiState(val status: ConnectionBannerStatus = ConnectionBannerStatus.UNCHECKED, val message: String = "", val iconType: ConnectionBannerIconType = ConnectionBannerIconType.SIMULATOR, val snackbarConnectedMessage: String = "", val snackbarDisconnectedMessage: String = "", val isVisible: Boolean = true, val isTappable: Boolean = false, val tapNavigationTarget: ConnectionBannerNavigationTarget? = null)

ConnectionBanner 画面の表示状態。

Link copied to clipboard
data class NarratorOverlayWindowBounds(val x: Int?, val y: Int?, val width: Int, val height: Int)

オーバーレイウィンドウの位置・サイズ。位置が未保存の場合は x / y が null になる。

Properties

Link copied to clipboard

:feature:* 各モジュールの Koin モジュールを束ねたリスト。

Link copied to clipboard
val ERROR CLASS: Symbol not found for Posture.shouldCollapseDetailPane: Boolean

list/detail の2ペイン表示を維持するには実質的な表示領域が不足している姿勢かどうかを返す。

Functions

Link copied to clipboard
fun AppScreen(viewModel: ERROR CLASS: Symbol not found for AppScreenViewModel = koinViewModel(), autoReadoutListViewModel: ERROR CLASS: Symbol not found for AutoReadoutListViewModel = koinViewModel(), telemetryLogListViewModel: ERROR CLASS: Symbol not found for TelemetryLogListViewModel = koinViewModel(), otherListViewModel: ERROR CLASS: Symbol not found for OtherListViewModel = koinViewModel(), backHandler: AppBackHandler = { _, _, _ -> }, onDarkThemeChanged: (Boolean) -> Unit = {}, autoReadoutContent: (scrollToTopRequest: Int) -> Unit = { scrollToTopRequest -> AutoReadoutContent( backHandler = backHandler, scrollToTopRequest = scrollToTopRequest, detailContent = { itemType -> ReadoutItemDetailContent(itemType) }, ) }, telemetryLogContent: (scrollToTopRequest: Int, onFeedbackClick: (Long) -> Unit) -> Unit = { scrollToTopRequest, onFeedbackClick, -> TelemetryLogContent( backHandler = backHandler, scrollToTopRequest = scrollToTopRequest, onFeedbackClick = onFeedbackClick, detailContent = { id -> TelemetryLogDetailContent(id = id) }, ) }, manualReadoutContent: (selectedSimulatorId: String, tabReselectRequest: Int) -> Unit = { selectedSimulatorId, tabReselectRequest -> key(selectedSimulatorId) { ManualReadoutContent( simulatorId = selectedSimulatorId, tabReselectRequest = tabReselectRequest, simulatorName = appScreenPrimarySimulatorLabel(selectedSimulatorId), backHandler = backHandler, detailContent = { setId, canNavigateBack, onBack -> ManualReadoutSetDetailContent( simulatorId = selectedSimulatorId, setId = setId, onDeleted = onBack, canNavigateBack = canNavigateBack, onBack = onBack, ) }, ) } }, otherContent: (scrollToTopRequest: Int, selectedSimulatorId: String) -> Unit = { scrollToTopRequest, selectedSimulatorId -> DefaultOtherContent( selectedSimulatorId = selectedSimulatorId, backHandler = backHandler, scrollToTopRequest = scrollToTopRequest, ) })

AppScreen を提供する公開関数。

Link copied to clipboard
fun AppTheme(darkTheme: Boolean = false, dynamicColor: Boolean = false, content: () -> Unit)

AppTheme を提供する公開関数。

Link copied to clipboard
fun ConnectionBannerContent(uiState: ConnectionBannerUiState, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, onClick: () -> Unit? = null)

ConnectionBanner のコンテンツを表示する Composable。

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Modifier.constrainToTabletopTopPane(posture: ERROR CLASS: Symbol not found for Posture): ERROR CLASS: Symbol not found for Modifier

テーブルトップ姿勢(水平ヒンジで半開き)の場合、ヒンジより下側は操作しづらいため、 コンテンツの高さをヒンジ上端までに制限する。テーブルトップ姿勢でない場合、または 分離する水平ヒンジの情報が無い場合は何もしない。

Link copied to clipboard
fun DesktopSplashHost(initializeModules: suspend () -> Unit, startServer: suspend () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, onReady: () -> Unit = {}, onError: (Throwable) -> Unit = {}, content: () -> Unit)

デスクトップアプリの起動時に、初期化が完了するまでスプラッシュ画面を表示するホスト。

Link copied to clipboard

KeepScreenOnEffect のこのプラットフォーム向け実装。

expect fun KeepScreenOnEffect(enabled: Boolean)

KeepScreenOnEffect のプラットフォーム別実装を要求する expect 宣言。

KeepScreenOnEffect のこのプラットフォーム向け実装。

Link copied to clipboard
fun NarratorOverlayScreen(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier)

NarratorOverlayScreen を提供する公開関数。

Link copied to clipboard
fun OtherContent(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, scaffoldDirective: ERROR CLASS: Symbol not found for PaneScaffoldDirective = calculatePaneScaffoldDirective(currentWindowAdaptiveInfo()), windowPosture: ERROR CLASS: Symbol not found for Posture = currentWindowAdaptiveInfo().windowPosture, backHandler: AppBackHandler = { _, _, _ -> }, scrollToTopRequest: Int = 0, onOpenReadoutStartSoundDialog: () -> Unit = {}, onOpenThemeDialog: () -> Unit = {}, onOpenOverlayTextColorDialog: () -> Unit = {}, onOpenOverlayTextSizeDialog: () -> Unit = {}, detailContent: (ERROR CLASS: Symbol not found for OtherListItemType, Boolean, () -> Unit, Long?, Long) -> Unit = { _, _, _, _, _ -> })

Other のコンテンツを表示する Composable。

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Modifier.predictiveBackDetailPane(progress: Float): ERROR CLASS: Symbol not found for Modifier

Modifier を提供する公開関数。

Link copied to clipboard

rememberConnectionBannerUiState のこのプラットフォーム向け実装。

rememberConnectionBannerUiState のプラットフォーム別実装を要求する expect 宣言。

rememberConnectionBannerUiState のこのプラットフォーム向け実装。

Link copied to clipboard

オーバーレイウィンドウの位置・サイズの保存値を購読する。読み込みが完了するまでは null を返す。

Link copied to clipboard
fun rememberNarratorOverlayBoundsSaver(): (x: Int, y: Int, width: Int, height: Int) -> Unit

オーバーレイウィンドウの位置・サイズを保存する関数を返す。

Link copied to clipboard

オーバーレイを表示するかどうかのユーザー設定(その他タブの「オーバーレイ設定」)を購読する。 設定の読み込みが完了するまでは null を返す。

Link copied to clipboard

VersionMismatchBottomSheetEffect のこのプラットフォーム向け実装。

VersionMismatchBottomSheetEffect のプラットフォーム別実装を要求する expect 宣言。

VersionMismatchBottomSheetEffect のこのプラットフォーム向け実装。