Loading...
Searching...
No Matches

Class is used for storing venue. More...

#include <com/navigine/idl/objc/NCVenue.h>

Inherits NSObject.

Properties

NCPointpoint
 venue's X and Y coordinates in meters as Point (within the sublocation).
 
int32_t locationId
 venue's location identifier.
 
int32_t sublocationId
 venue's sublocation identifier.
 
int32_t id
 venue's identifier.
 
NSString * name
 venue's name.
 
NSString * phone
 venue's phone.
 
NSString * descript
 venue's description.
 
NSString * alias
 venue's alias.
 
int32_t categoryId
 venue's category unique identifier Category
 
NSString * imageUrl
 venue's image url if specified.
 

Detailed Description

Class is used for storing venue.

Referenced from Sublocation.

Definition at line 19 of file NCVenue.h.

Property Documentation

◆ alias

- (NSString*) alias
readnonatomicassign

venue's alias.

Swift code snippet:

// Get venue alias
let alias = venue.getAlias()
print("Venue alias: \‍(alias ?? "nil")")

Objective C code snippet:

// Get venue alias
NSString *alias = [venue getAlias];
NSLog(@"Venue alias: %@", alias);

Definition at line 131 of file NCVenue.h.

◆ categoryId

- (int32_t) categoryId
readnonatomicassign

venue's category unique identifier Category

Swift code snippet:

// Get category ID
let categoryId = venue.getCategoryId()
print("Venue category ID: \‍(categoryId)")

Objective C code snippet:

// Get category ID
int32_t categoryId = [venue getCategoryId];
NSLog(@"Venue category ID: %d", categoryId);

Definition at line 145 of file NCVenue.h.

◆ descript

- (NSString*) descript
readnonatomicassign

venue's description.

Swift code snippet:

// Get venue description
let venueDescription = venue.getDescript()
print("Venue description: \‍(venueDescription ?? "nil")")

Objective C code snippet:

// Get venue description
NSString *venueDescription = [venue getDescript];
NSLog(@"Venue description: %@", venueDescription);

Definition at line 117 of file NCVenue.h.

◆ id

- (int32_t) id
readnonatomicassign

venue's identifier.

Swift code snippet:

// Get venue ID
let venueId = venue.getId()
print("Venue ID: \‍(venueId)")

Objective C code snippet:

// Get venue ID
int32_t venueId = [venue getId];
NSLog(@"Venue ID: %d", venueId);

Definition at line 75 of file NCVenue.h.

◆ imageUrl

- (NSString*) imageUrl
readnonatomicassign

venue's image url if specified.

Swift code snippet:

// Get venue image URL
if let imageUrl = venue.getImageUrl() {
print("Venue image URL: \‍(imageUrl)")
}

Objective C code snippet:

// Get venue image URL
NSString *imageUrl = [venue getImageUrl];
if (imageUrl != nil) {
NSLog(@"Venue image URL: %@", imageUrl);
}

Definition at line 159 of file NCVenue.h.

◆ locationId

- (int32_t) locationId
readnonatomicassign

venue's location identifier.

Swift code snippet:

// Get venue location ID
let locationId = venue.getLocationId()
print("Venue location ID: \‍(locationId)")

Objective C code snippet:

// Get venue location ID
int32_t locationId = [venue getLocationId];
NSLog(@"Venue location ID: %d", locationId);

Definition at line 47 of file NCVenue.h.

◆ name

- (NSString*) name
readnonatomicassign

venue's name.

Swift code snippet:

// Get venue name
let venueName = venue.getName()
print("Venue name: \‍(venueName ?? "nil")")

Objective C code snippet:

// Get venue name
NSString *venueName = [venue getName];
NSLog(@"Venue name: %@", venueName);

Definition at line 89 of file NCVenue.h.

◆ phone

- (NSString*) phone
readnonatomicassign

venue's phone.

Swift code snippet:

// Get venue phone
let phone = venue.getPhone()
print("Venue phone: \‍(phone ?? "nil")")

Objective C code snippet:

// Get venue phone
NSString *phone = [venue getPhone];
NSLog(@"Venue phone: %@", phone);

Definition at line 103 of file NCVenue.h.

◆ point

- (NCPoint*) point
readnonatomicassign

venue's X and Y coordinates in meters as Point (within the sublocation).

Swift code snippet:

// Get venue point
let point = venue.getPoint()
if let point = point {
demonstratePointUsage(point)
}

Objective C code snippet:

// Get venue point
NCPoint *point = [venue getPoint];
if (point != nil) {
[self demonstratePointUsage:point];
}

Definition at line 33 of file NCVenue.h.

◆ sublocationId

- (int32_t) sublocationId
readnonatomicassign

venue's sublocation identifier.

Swift code snippet:

// Get venue sublocation ID
let sublocationId = venue.getSublocationId()
print("Venue sublocation ID: \‍(sublocationId)")

Objective C code snippet:

// Get venue sublocation ID
int32_t sublocationId = [venue getSublocationId];
NSLog(@"Venue sublocation ID: %d", sublocationId);

Definition at line 61 of file NCVenue.h.


The documentation for this class was generated from the following file: