Loading...
Searching...
No Matches
ObjectiveC Secondary classes

List of secondary classes for Navigine iOS SDK. More...

Classes

class  NCBitmapRegionDecoder
 Сlass is used for getting bitmaps (png, jpg, svg) from byte array. More...
 
class  NCLocationInfo
 General information about location. More...
 
class  NCLogInfo
 Represents metadata for a log file. More...
 
class  NCNotification
 Class is used for working with the notifications and storing its data. More...
 
class  NCPosition
 Class describing user's position. More...
 
class  NCRouteEvent
 Class is used for storing the route path events. More...
 
class  NCRouteOptions
 Class is used for describing routing options of AsyncRouteManager. More...
 
class  NCRoutePath
 class is used for storing the route path between the two points on the location. More...
 
class  NCSensorMeasurement
 Structure representing a sensor measurement with type, values, and timestamp. More...
 
class  NCSignalMeasurement
 Structure representing a signal measurement with type, identifier, RSSI, distance, and timestamp. More...
 
class  NCVector3d
 Structure representing a 3D vector for sensor measurements. More...
 
class  NCZoneEvent
 Class described user zone event. More...
 

Enumerations

enum  NCRouteEventType {
  NCRouteEventTypeTURNLEFT ,
  NCRouteEventTypeTURNRIGHT ,
  NCRouteEventTypeTRANSITION
}
 Enum described toute event types. More...
 
enum  NCRouteStatus {
  NCRouteStatusMissingGraph ,
  NCRouteStatusMissingPosition ,
  NCRouteStatusMissingRoute ,
  NCRouteStatusMissingProjection ,
  NCRouteStatusNewRoute
}
 Enum describing possible router states. More...
 
enum  NCSensorType {
  NCSensorTypeACCELEROMETER ,
  NCSensorTypeMAGNETOMETER ,
  NCSensorTypeGYROSCOPE ,
  NCSensorTypeBAROMETER ,
  NCSensorTypeLOCATION ,
  NCSensorTypeORIENTATION
}
 Enum defining types of sensors used in measurements. More...
 
enum  NCSignalType {
  NCSignalTypeWIFI ,
  NCSignalTypeBEACON ,
  NCSignalTypeBLUETOOTH ,
  NCSignalTypeEDDYSTONE ,
  NCSignalTypeWIFIRTT
}
 Enum defining types of signals used in measurements. More...
 
enum  NCTransmitterStatus {
  NCTransmitterStatusNone ,
  NCTransmitterStatusNew ,
  NCTransmitterStatusDeleted ,
  NCTransmitterStatusModified
}
 enum described possible transmitter state. More...
 
enum  NCZoneEventType {
  NCZoneEventTypeEnter ,
  NCZoneEventTypeExit
}
 enum described zone event types More...
 

Detailed Description

List of secondary classes for Navigine iOS SDK.

Enumeration Type Documentation

◆ NCRouteEventType

Enum described toute event types.

Referenced from RouteEvent.

Swift code snippet:

// Get all route event type values
let types: [NCRouteEventType] = [.turnLeft, .turnRight, .transition]
print("Available route event types:")
for type in types {
print(" - \‍(type)")
}

Objective C code snippet:

// Get all route event type values
NSArray<NSNumber *> *types = @[
@(NCRouteEventTypeTurnLeft),
@(NCRouteEventTypeTurnRight),
@(NCRouteEventTypeTransition)
];
NSLog(@"Available route event types:");
for (NSNumber *type in types) {
NSLog(@" - %ld", (long)[type integerValue]);
}
Enumerator
NCRouteEventTypeTURNLEFT 

An event showing a left turn.

NCRouteEventTypeTURNRIGHT 

An event showing a right turn.

NCRouteEventTypeTRANSITION 

An event showing a chaning of sublocation (floor).

Definition at line 23 of file NCRouteEventType.h.

◆ NCRouteStatus

Enum describing possible router states.

Referenced from AsyncRouteListener.

Swift code snippet:

// Demonstrate all RouteStatus values
print("Available RouteStatus values:")
let allStatuses: [NCRouteStatus] = [.missingGraph, .missingPosition, .missingRoute, .missingProjection, .newRoute]
for status in allStatuses {
print(" - \‍(status): \‍(status.rawValue)")
}
// Demonstrate status checking
let testStatus: NCRouteStatus = .newRoute
switch testStatus {
case .newRoute:
print("Router is ready for navigation")
case .missingGraph:
print("Router is missing the route graph")
case .missingPosition:
print("Router is missing the current position")
case .missingProjection:
print("Current position is off the route graph")
case .missingRoute:
print("Router unable to find the route to the destination point")
}

Objective C code snippet:

// Demonstrate all RouteStatus values
NSLog(@"Available RouteStatus values:");
NSArray *allStatuses = @[@(NCRouteStatusMissingGraph), @(NCRouteStatusMissingPosition), @(NCRouteStatusMissingRoute), @(NCRouteStatusMissingProjection), @(NCRouteStatusNewRoute)];
for (NSNumber *statusNumber in allStatuses) {
NCRouteStatus status = [statusNumber integerValue];
NSLog(@" - %@: %@", @(status), @(status));
}
// Demonstrate status checking
switch (testStatus) {
NSLog(@"Router is ready for navigation");
break;
NSLog(@"Router is missing the route graph");
break;
NSLog(@"Router is missing the current position");
break;
NSLog(@"Current position is off the route graph");
break;
NSLog(@"Router unable to find the route to the destination point");
break;
}
Enumerator
NCRouteStatusMissingGraph 

Router is missing the route graph.

NCRouteStatusMissingPosition 

Router is missing the current position.

NCRouteStatusMissingRoute 

Router unable to find the route to the destination point.

NCRouteStatusMissingProjection 

Current position is off the route graph.

NCRouteStatusNewRoute 

Router is ready and has a valid route.

Definition at line 24 of file NCRouteStatus.h.

◆ NCSensorType

Enum defining types of sensors used in measurements.

Referenced from SensorMeasurement.

Enumerator
NCSensorTypeACCELEROMETER 

Accelerometer sensor type. Accelerometer.

NCSensorTypeMAGNETOMETER 

Magnetometer sensor type. Magnetometer.

NCSensorTypeGYROSCOPE 

Gyroscope sensor type. Gyroscope.

NCSensorTypeBAROMETER 

Barometer sensor type. Barometer.

NCSensorTypeLOCATION 

Location sensor type. GNSS.

NCSensorTypeORIENTATION 

Orientation sensor type.

Definition at line 15 of file NCSensorType.h.

◆ NCSignalType

Enum defining types of signals used in measurements.

Referenced from SignalMeasurement.

Enumerator
NCSignalTypeWIFI 

Wi-Fi signal type. Wi-Fi.

NCSignalTypeBEACON 

Bluetooth Low Energy (BLE) beacon signal type. iBeacon.

NCSignalTypeBLUETOOTH 

Bluetooth signal type. Bluetooth.

NCSignalTypeEDDYSTONE 

Eddystone beacon signal type. Eddystone.

NCSignalTypeWIFIRTT 

Wi-Fi Round-Trip Time signal type. Wi-Fi_RTT.

Definition at line 15 of file NCSignalType.h.

◆ NCTransmitterStatus

enum described possible transmitter state.

Referenced from Beacon, Eddystone, Wifi.

Swift code snippet:

// Get all transmitter status values
print("Available transmitter statuses:")
print(" - NCTransmitterStatusActive: \‍(NCTransmitterStatusActive)")
print(" - NCTransmitterStatusInactive: \‍(NCTransmitterStatusInactive)")

Objective C code snippet:

// Get all transmitter status values
NSLog(@"Available transmitter statuses:");
NSLog(@" - NCTransmitterStatusActive: %ld", (long)NCTransmitterStatusActive);
NSLog(@" - NCTransmitterStatusInactive: %ld", (long)NCTransmitterStatusInactive);
Enumerator
NCTransmitterStatusNone 

Syncronized with CMS.

NCTransmitterStatusNew 

Added in SDK but not syncronized with CMS.

NCTransmitterStatusDeleted 

Deleted in SDK but not syncronized with CMS.

NCTransmitterStatusModified 

Changed in SDK but not syncronized with CMS.

Definition at line 24 of file NCTransmitterStatus.h.

◆ NCZoneEventType

enum described zone event types

Referenced from ZoneEvent.

Swift code snippet:

// Get all zone event type values
print("Available zone event types:")
print(" - ZoneEventType.enter: \‍(ZoneEventType.enter)")
print(" - ZoneEventType.exit: \‍(ZoneEventType.exit)")

Objective C code snippet:

// Get all zone event type values
NSLog(@"Available zone event types:");
NSLog(@" - NCZoneEventTypeEnter: %ld", (long)NCZoneEventTypeEnter);
NSLog(@" - NCZoneEventTypeExit: %ld", (long)NCZoneEventTypeExit);
Enumerator
NCZoneEventTypeEnter 

Happens when user enters paticular zone;.

NCZoneEventTypeExit 

Happens when user leaves paticular zone, sublocation has been changed or zone has been removed;.

Definition at line 24 of file NCZoneEventType.h.