public interface AdvertisementCallbacks
AdvertisementCallbacks
interface provides callbacks related to advertising.
When starting to advertise
, the application should give the advertisement
callbacks in order to be notified of the events related to the advertisement.
Modifier and Type | Method and Description |
---|---|
void |
onAdvertisementCompleted(BluetoothAdapter adapter)
Called when an ongoing advertisement is completed.
|
void onAdvertisementCompleted(BluetoothAdapter adapter)
adapter
- the adapter which was performing the advertisement.BluetoothAdapter.startAdvertising(AdvertisementCallbacks, ConnectionCallbacks, byte[])
,
BluetoothAdapter.stopAdvertising()