close

open override fun close()

Closes this BluetoothServer After this method has been called the Server will no longer be available. Any subsequent calls to advertise, add, remove, or removeAllServices will fail.