Kontakt Class Reference

Inherits from NSObject
Declared in Kontakt.h

Overview

Calculates distance to device from specified TX Power and RSSI.

Configuration

+ setAPIKey:

Sets the Cloud API Key.

+ (void)setAPIKey:(NSString *)key

Parameters

key

The API Key string.

Discussion

Sets the Cloud API Key.

See Also

Declared In

Kontakt.h

+ APIKey

Returns a string value of the Cloud API Key.

+ (NSString *)APIKey

Return Value

A string value of the API Key.

Discussion

Returns a string value of the Cloud API Key.

See Also

Declared In

Kontakt.h

+ removeCaches

Removes caches created by the SDK.

+ (void)removeCaches

Discussion

Removes caches created by the SDK.

Cache should be removed every time APIKey is changed.

Declared In

Kontakt.h

+ setMonitoringOptions:

Sets the devices monitoring options.

+ (void)setMonitoringOptions:(KTKMonitoringOptions)options

Parameters

options

The devices monitoring options.

Discussion

Sets the devices monitoring options.

Declared In

Kontakt.h

+ monitoringOptions

Returns a devices monitoring options.

+ (KTKMonitoringOptions)monitoringOptions

Return Value

A devices monitoring options.

Discussion

Returns a devices monitoring options.

Default value is KTKMonitoringOptionsBatteryStatus

Declared In

Kontakt.h

+ setCentralManagerPowerAlert:

Sets the CBCentralManagerOptionShowPowerAlertKey option for internal Central Manager.

+ (void)setCentralManagerPowerAlert:(BOOL)alert

Parameters

alert

A Boolean value that specifies whether the system should display a warning dialog to the user if Bluetooth is powered off when the central manager is instantiated.

Discussion

Sets the CBCentralManagerOptionShowPowerAlertKey option for internal Central Manager.

Declared In

Kontakt.h