-local-audio-row.md 2.8 KB

//tvlib/org.mjdev.tvlib.ui.components.tv/LocalAudioRow

LocalAudioRow

[androidJvm]

@Composable

fun LocalAudioRow(title: Any? = R.string.title_audio_local, rowState: TvLazyListState = rememberTvLazyListState(), padding: Dp = 8.dp, backgroundColor: Color = Color.DarkGray.copy(alpha = 0.3f), roundCornerSize: Dp = 8.dp, backgroundShape: Shape = RoundedCornerShape(roundCornerSize), selection: String? = null, selectionArgs: Array<String>? = null, sortOrder: String? = AudioItem.SORT_ORDER_DATE_DESC, cardWidth: Dp = computeCardWidth(), contentScale: ContentScale = ContentScale.Crop, transform: (Cursor) -> Any? = { c -> AudioItem(c) }, cursor: Cursor? = rememberCursor(

    uri = AudioItem.URI,
    projection = AudioItem.MEDIA_PROJECTION,
    selection = selection,
    selectionArgs = selectionArgs,
    sortOrder = sortOrder,
    transform = transform
), onItemFocus: (item: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, fromUser: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)) -&gt; [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)? = null, openItem: [Context](https://developer.android.com/reference/kotlin/android/content/Context.html).(item: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?) -&gt; [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)? = null)