KTKNearbyDevice Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in KTKNearbyDevice.h

Nearby Device Properties

  name

Advertised device name. (read-only)

@property (nonatomic, readonly, copy) NSString *name

Discussion

Advertised device name. (read-only)

Declared In

KTKNearbyDevice.h

  uniqueID

Kontakt unique identifier. (read-only)

@property (nonatomic, readonly, copy) NSString *uniqueID

Discussion

Kontakt unique identifier. (read-only)

Declared In

KTKNearbyDevice.h

  firmwareVersion

Device firmware version. (read-only)

@property (nonatomic, readonly, strong) NSString *firmwareVersion

Discussion

Device firmware version. (read-only)

Declared In

KTKNearbyDevice.h

  batteryLevel

Battery level percentage. (read-only)

@property (nonatomic, readonly, assign) NSUInteger batteryLevel

Discussion

Battery level percentage. (read-only)

Declared In

KTKNearbyDevice.h

  batteryPowered

A Boolean indicating whether the device is powered with battery or power supply. (read-only)

@property (nonatomic, readonly, assign, getter=isBatteryPowered) BOOL batteryPowered

Discussion

A Boolean indicating whether the device is powered with battery or power supply. (read-only)

Declared In

KTKNearbyDevice.h

  transmissionPower

Transmission power. (read-only)

@property (nonatomic, readonly, assign) KTKDeviceTransmissionPower transmissionPower

Discussion

Transmission power. (read-only)

Declared In

KTKNearbyDevice.h

  hasConfigurationProfile

A Boolean indicating whether the device has configuration profile ( Kontakt.io Secure Communication ). (read-only) All Kontakt.io’s devices with firmware >= 4.0 and all devices since Beacon Pro support configuration profile.

@property (nonatomic, readonly, assign) BOOL hasConfigurationProfile

Discussion

A Boolean indicating whether the device has configuration profile ( Kontakt.io Secure Communication ). (read-only) All Kontakt.io’s devices with firmware >= 4.0 and all devices since Beacon Pro support configuration profile.

Declared In

KTKNearbyDevice.h

  hasKontaktRTC

A Boolean indicating whether the device has Kontakt rtc timer.

@property (nonatomic, readonly, assign) BOOL hasKontaktRTC

Discussion

A Boolean indicating whether the device has Kontakt rtc timer.

Declared In

KTKNearbyDevice.h

  shuffled

A Boolean indicating whether the device is currently in Shuffle mode. (read-only)

@property (nonatomic, readonly, assign, getter=isShuffled) BOOL shuffled

Discussion

A Boolean indicating whether the device is currently in Shuffle mode. (read-only)

Declared In

KTKNearbyDevice.h

  locked

A Boolean indicating whether the device is locked/non-connectable mode. (read-only)

@property (nonatomic, readonly, assign, getter=isLocked) BOOL locked

Discussion

A Boolean indicating whether the device is locked/non-connectable mode. (read-only)

Declared In

KTKNearbyDevice.h

  telemetry

Nearby device telemetry informations object. (read-only)

@property (nonatomic, readonly, strong) KTKNearbyDeviceTelemetry *telemetry

Discussion

Nearby device telemetry informations object. (read-only)

Declared In

KTKNearbyDevice.h

  advertisingProfile

Current advertising profile. (read-only)

@property (nonatomic, readonly, assign) KTKDeviceAdvertisingProfile advertisingProfile

Discussion

Current advertising profile. (read-only)

Warning: Important: advertisingProfile property is not compatible with firmware 4.1 as devices can advertise multiple packets at the same time. advertisingProfile will return KTKDeviceAdvertisingProfileInvalid when nearby device’s firmware is >= 4.1. Please note advertisingProfile most probably will soon be removed in favor of packets. Please keep it in mind when planing future projects.

Declared In

KTKNearbyDevice.h

  model

Nearby device model. (read-only)

@property (nonatomic, readonly, assign) KTKDeviceModel model

Discussion

Nearby device model. (read-only)

Warning: Important: Only devices advertising using Kontakt.io’s Secure Profile (UUID: 0xFE6A) (Basically NONE of the devices prior to Beacon Pro model) will provide model information. In all other cases model property will be set to KTKDeviceModelUnknown or KTKDeviceModelInvalid.

See Also

Declared In

KTKNearbyDevice.h

  symbol

Device symbol in Kontakt.io’s unified convention. (read-only)

@property (nonatomic, readonly, assign) KTKDeviceSymbol symbol

Discussion

Device symbol in Kontakt.io’s unified convention. (read-only)

Warning: Important: Symbol will be replacing model property. Same rules applies to symbol as to model in regards to adveritisng limitations.

Declared In

KTKNearbyDevice.h

  peripheral

CoreBluetooth Peripheral object associated with the device. (read-only)

@property (nonatomic, readonly, strong) CBPeripheral *peripheral

Discussion

CoreBluetooth Peripheral object associated with the device. (read-only)

Declared In

KTKNearbyDevice.h

  RSSI

Current RSSI value for the device. (read-only)

@property (nonatomic, readonly, copy) NSNumber *RSSI

Discussion

Current RSSI value for the device. (read-only)

Declared In

KTKNearbyDevice.h

  updatedAt

Last discovery update timestamp. (read-only)

@property (nonatomic, readonly, assign) double updatedAt

Discussion

Last discovery update timestamp. (read-only)

Declared In

KTKNearbyDevice.h

– setUpdatedForceCompletion:

Updates force a nearby device object with the specified advertisement dictionary.

- (void)setUpdatedForceCompletion:(KTKKontaktResponseCompletionBlock)completion

Discussion

Updates force a nearby device object with the specified advertisement dictionary.

Declared In

KTKNearbyDevice.h