Class is used for storing venue.
More...
#include <com/navigine/idl/objc/NCVenue.h>
Inherits NSObject.
|
| NCPoint * | point |
| | 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.
|
| |
| BOOL | valid |
| |
Class is used for storing venue.
Referenced from Sublocation.
Definition at line 19 of file NCVenue.h.
◆ alias
venue's alias.
Swift code snippet:
// Get venue alias
let alias = venue.getAlias()
print("Venue alias: \(alias ?? "nil")")
Objective C code snippet:
NSString *alias = [venue getAlias];
NSLog(@"Venue alias: %@", alias);
Definition at line 139 of file NCVenue.h.
◆ categoryId
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:
int32_t categoryId = [venue getCategoryId];
NSLog(@"Venue category ID: %d", categoryId);
Definition at line 154 of file NCVenue.h.
◆ descript
venue's description.
Swift code snippet:
// Get venue description
let venueDescription = venue.getDescript()
print("Venue description: \(venueDescription ?? "nil")")
Objective C code snippet:
NSString *venueDescription = [venue getDescript];
NSLog(@"Venue description: %@", venueDescription);
Definition at line 124 of file NCVenue.h.
◆ id
venue's identifier.
Swift code snippet:
// Get venue ID
let venueId = venue.getId()
print("Venue ID: \(venueId)")
Objective C code snippet:
int32_t venueId = [venue getId];
NSLog(@"Venue ID: %d", venueId);
Definition at line 79 of file NCVenue.h.
◆ imageUrl
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:
NSString *imageUrl = [venue getImageUrl];
if (imageUrl != nil) {
NSLog(@"Venue image URL: %@", imageUrl);
}
Definition at line 169 of file NCVenue.h.
◆ locationId
venue's location identifier.
Swift code snippet:
// Get venue location ID
let locationId = venue.getLocationId()
print("Venue location ID: \(locationId)")
Objective C code snippet:
int32_t locationId = [venue getLocationId];
NSLog(@"Venue location ID: %d", locationId);
Definition at line 49 of file NCVenue.h.
◆ name
venue's name.
Swift code snippet:
// Get venue name
let venueName = venue.getName()
print("Venue name: \(venueName ?? "nil")")
Objective C code snippet:
NSString *venueName = [venue getName];
NSLog(@"Venue name: %@", venueName);
Definition at line 94 of file NCVenue.h.
◆ phone
venue's phone.
Swift code snippet:
// Get venue phone
let phone = venue.getPhone()
print("Venue phone: \(phone ?? "nil")")
Objective C code snippet:
NSString *phone = [venue getPhone];
NSLog(@"Venue phone: %@", phone);
Definition at line 109 of file NCVenue.h.
◆ point
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:
NCPoint *point = [venue getPoint];
if (point != nil) {
[self demonstratePointUsage:point];
}
Definition at line 34 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:
int32_t sublocationId = [venue getSublocationId];
NSLog(@"Venue sublocation ID: %d", sublocationId);
Definition at line 64 of file NCVenue.h.
◆ valid
Tells if this object is valid or not. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now.
Definition at line 177 of file NCVenue.h.
The documentation for this class was generated from the following file: