class Advertiser
Utility class wrapping framework gattServer and rxGattServerCallback
Advertiser(context: Context, bleAdvertiser: BluetoothLeAdvertiser = BluetoothAdapter.getDefaultAdapter().bluetoothLeAdvertiser)
Utility class wrapping framework gattServer and rxGattServerCallback |
val context: Context |
fun startAdvertising(advertiseSettings: AdvertiseSettings, advertiseData: AdvertiseData, scanResponse: AdvertiseData? = null): Completable |
|
fun stopAdvertising(): Completable |
fun getAdvertiseData(uuid: String): AdvertiseData |
|
fun getAdvertiseSettings(): AdvertiseSettings |
|
fun getScanResponseData(): AdvertiseData |