음소거 상태 유지하기
- 印刷する
음소거 상태 유지하기
- 印刷する
The content is currently unavailable in Ja - 日本語. You are viewing the default Korean version.
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
Shoplive 숏폼에서 소리 상태를 유지 할 수 있습니다. 숏폼 상세에서는 음소거 기능이 유지됩니다.
음소거 버튼
클릭 시 콜백
private var isMuted = false
override fun onEvent(context: Context, command: String, payload: String?) {
when (command) {
"VIDEO_MUTED" -> {
isMuted = true
}
"VIDEO_UNMUTED" -> {
isMuted = false
}
}
}
음소거
설정 상태를 Shoplive 숏폼 Preview로 전달
private var isMuted = false
ShopLiveShortform.showPreview(
this@YourActivity,
ShopLiveShortformPreviewData().apply {
isMuted = this@YourActivity.isMuted
})
관련 링크: ShopLiveShortformPreview