advertise

open suspend override fun advertise(data: AdvertiseData.Builder.() -> Unit): Boolean

Starts advertising with the given data

Return

true if advertising was started, false if not

Parameters

data

the AdvertiseData.Builder to use to set up the advertising