Loading...
Searching...
No Matches
NCZoneEvent.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCZoneEventType.h"
3#import <Foundation/Foundation.h>
4
18DEFAULT_EXPORT_ATTRIBUTE
19@interface NCZoneEvent : NSObject
20
24- (nonnull instancetype)initWithType:(NCZoneEventType)type
25 locationId:(int32_t)locationId
26 sublocationId:(int32_t)sublocationId
27 id:(int32_t)id
28 name:(nonnull NSString *)name
29 alias:(nonnull NSString *)alias;
30
34+ (nonnull instancetype)zoneEventWithType:(NCZoneEventType)type
35 locationId:(int32_t)locationId
36 sublocationId:(int32_t)sublocationId
37 id:(int32_t)id
38 name:(nonnull NSString *)name
39 alias:(nonnull NSString *)alias;
40
54@property (nonatomic, readonly) NCZoneEventType type;
55
69@property (nonatomic, readonly) int32_t locationId;
70
84@property (nonatomic, readonly) int32_t sublocationId;
85
99@property (nonatomic, readonly) int32_t id;
100
114@property (nonatomic, readonly, nonnull) NSString * name;
115
129@property (nonatomic, readonly, nonnull) NSString * alias;
130
131@end