blob: 0f7d28871a2aee193cb3eed2f5e09e73bca5a34c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// SDLOnAppInterfaceUnregistered.m
//
#import "SDLOnAppInterfaceUnregistered.h"
#import "SDLNames.h"
NS_ASSUME_NONNULL_BEGIN
@implementation SDLOnAppInterfaceUnregistered
- (instancetype)init {
if (self = [super initWithName:SDLNameOnAppInterfaceUnregistered]) {
}
return self;
}
- (void)setReason:(SDLAppInterfaceUnregisteredReason)reason {
if (reason != nil) {
[parameters setObject:reason forKey:SDLNameReason];
} else {
[parameters removeObjectForKey:SDLNameReason];
}
}
- (SDLAppInterfaceUnregisteredReason)reason {
NSObject *obj = [parameters objectForKey:SDLNameReason];
return (SDLAppInterfaceUnregisteredReason)obj;
}
@end
NS_ASSUME_NONNULL_END
|