Fix doc
This commit is contained in:
@@ -84,6 +84,8 @@ class BluetoothTethering(context: Context, val stateListener: () -> Unit) :
|
|||||||
private var pan: BluetoothProfile? = null
|
private var pan: BluetoothProfile? = null
|
||||||
var activeFailureCause: Throwable? = null
|
var activeFailureCause: Throwable? = null
|
||||||
/**
|
/**
|
||||||
|
* Requires BLUETOOTH_PRIVILEGED on API 30+.
|
||||||
|
*
|
||||||
* Based on: https://android.googlesource.com/platform/packages/apps/Settings/+/78d5efd/src/com/android/settings/TetherSettings.java
|
* Based on: https://android.googlesource.com/platform/packages/apps/Settings/+/78d5efd/src/com/android/settings/TetherSettings.java
|
||||||
*/
|
*/
|
||||||
val active: Boolean? get() {
|
val active: Boolean? get() {
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ object TetheringManager {
|
|||||||
/**
|
/**
|
||||||
* Bluetooth tethering type.
|
* Bluetooth tethering type.
|
||||||
*
|
*
|
||||||
* Requires BLUETOOTH permission, or BLUETOOTH_PRIVILEGED on API 30+.
|
* Requires BLUETOOTH permission.
|
||||||
* @see [startTethering].
|
* @see [startTethering].
|
||||||
*/
|
*/
|
||||||
@RequiresApi(24)
|
@RequiresApi(24)
|
||||||
|
|||||||
Reference in New Issue
Block a user