MockAdvertisementData

data class MockAdvertisementData(val name: String? = null, val manufacturerId: Int? = null, val manufacturerData: ByteArray? = null, val serviceUUIDs: List<UUID> = emptyList(), val serviceData: Map<UUID, ByteArray?> = emptyMap(), val txPowerLevel: TxPower = Int.MIN_VALUE, val isConnectable: Boolean = true) : BaseAdvertisementData

Mock implementation of BaseAdvertisementData

Constructors

Link copied to clipboard
constructor(name: String? = null, manufacturerId: Int? = null, manufacturerData: ByteArray? = null, serviceUUIDs: List<UUID> = emptyList(), serviceData: Map<UUID, ByteArray?> = emptyMap(), txPowerLevel: TxPower = Int.MIN_VALUE, isConnectable: Boolean = true)

Properties

Link copied to clipboard
open override val isConnectable: Boolean = true
Link copied to clipboard
open override val manufacturerData: ByteArray? = null
Link copied to clipboard
open override val manufacturerId: Int? = null
Link copied to clipboard
open override val name: String? = null
Link copied to clipboard
open override val serviceData: Map<UUID, ByteArray?>
Link copied to clipboard
open override val serviceUUIDs: List<UUID>
Link copied to clipboard
open override val txPowerLevel: TxPower