BleDeviceSelector.onActivityResult

このページは執筆中です。

fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?, scope: CoroutineScope): Boolean

概要

引数

名前 型 説明
requestCode Int
resultCode Int
data Intent?
scope CoroutineScope

戻り値

Boolean

使用例

if (selector.onActivityResult(requestCode, resultCode, data, scope)) {
    // SDK が処理した。Activity 側の処理は不要
    return true
}

関連