summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLIAPSession.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLIAPSession.h')
-rw-r--r--SmartDeviceLink/SDLIAPSession.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/SmartDeviceLink/SDLIAPSession.h b/SmartDeviceLink/SDLIAPSession.h
index d21343894..6442540c4 100644
--- a/SmartDeviceLink/SDLIAPSession.h
+++ b/SmartDeviceLink/SDLIAPSession.h
@@ -8,15 +8,17 @@
@class SDLStreamDelegate;
+NS_ASSUME_NONNULL_BEGIN
+
typedef void (^SessionCompletionHandler)(BOOL success);
@interface SDLIAPSession : NSObject
-@property (strong, atomic) EAAccessory *accessory;
-@property (strong, atomic) NSString *protocol;
-@property (strong, atomic) EASession *easession;
-@property (weak) id<SDLIAPSessionDelegate> delegate;
-@property (strong, atomic) SDLStreamDelegate *streamDelegate;
+@property (nullable, strong, nonatomic) EAAccessory *accessory;
+@property (nullable, strong, nonatomic) NSString *protocol;
+@property (nullable, strong, nonatomic) EASession *easession;
+@property (nullable, weak, nonatomic) id<SDLIAPSessionDelegate> delegate;
+@property (nullable, strong, nonatomic) SDLStreamDelegate *streamDelegate;
- (instancetype)initWithAccessory:(EAAccessory *)accessory
forProtocol:(NSString *)protocol;
@@ -25,3 +27,5 @@ typedef void (^SessionCompletionHandler)(BOOL success);
- (void)stop;
@end
+
+NS_ASSUME_NONNULL_END