AdvertiseException


class AdvertiseException : BluetoothException


Summary

Constants

const Int

Advertise failed to start because the data is too large.

const Int

Advertise failed to start because of an internal error.

const Int

Advertise failed to start because of too many advertisers.

const Int
UNSUPPORTED = 10104

Advertise failed to start because the advertise feature is not supported.

Public constructors

AdvertiseException(errorCode: Int)

Public properties

open Int

the error code for indicating the reason why the exception is thrown

Inherited properties

From kotlin.Throwable

Constants

DATA_TOO_LARGE

const val DATA_TOO_LARGE = 10101: Int

Advertise failed to start because the data is too large.

INTERNAL_ERROR

const val INTERNAL_ERROR = 10103: Int

Advertise failed to start because of an internal error.

TOO_MANY_ADVERTISERS

const val TOO_MANY_ADVERTISERS = 10102: Int

Advertise failed to start because of too many advertisers.

UNSUPPORTED

const val UNSUPPORTED = 10104: Int

Advertise failed to start because the advertise feature is not supported.

Public constructors

AdvertiseException

Added in 1.0.0-alpha02
AdvertiseException(errorCode: Int)

Public properties

errorCode

open val errorCodeInt

the error code for indicating the reason why the exception is thrown