KTKDevicesManagerDiscoveryMode Constants Reference

Declared in KTKDevicesManager.h

KTKDevicesManagerDiscoveryMode

Nearby devices discovery mode.

Definition

typedef NS_ENUM(NSUInteger, KTKDevicesManagerDiscoveryMode ) {
   KTKDevicesManagerDiscoveryModeAuto = 0,
   KTKDevicesManagerDiscoveryModeInterval,
};

Constants

KTKDevicesManagerDiscoveryModeAuto

Discovery mode Auto deliveres devices notifications as the devices becoming valid or invalid. There is no limit to these notifications so please make sure when working with hundreds of nearby devices this may impact performance. It is better to use discovery with interval then.

Declared In KTKDevicesManager.h.

KTKDevicesManagerDiscoveryModeInterval

Discovery mode Interval deliveres devices notifications with the specified time inverval. When working with hundreds of nearby devices this is preferred mode. When just few nearby devices have been discovered in a close time span it is better to use mode auto, as it is responding faster to changes.

Declared In KTKDevicesManager.h.

Declared In

KTKDevicesManager.h