summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnDriverDistraction.h
diff options
context:
space:
mode:
authorSatbir Tanda <satbirtanda@gmail.com>2019-06-04 17:43:37 -0700
committerSatbir Tanda <satbirtanda@gmail.com>2019-06-04 17:43:37 -0700
commit1a4b30f6bc43f27d6e77d0fe1cee6b11cc374ba9 (patch)
tree9142b63bf35d5be10e2de6a72ed5709697f608fe /SmartDeviceLink/SDLOnDriverDistraction.h
parent7b5666be83b6cad4f905285e5a17dbb0572286a3 (diff)
downloadsdl_ios-1a4b30f6bc43f27d6e77d0fe1cee6b11cc374ba9.tar.gz
Observe SDLDidChangeDriverDistractionStateNotification
Parse lockScreenDismissalEnabled Save last notification to instance variable
Diffstat (limited to 'SmartDeviceLink/SDLOnDriverDistraction.h')
-rw-r--r--SmartDeviceLink/SDLOnDriverDistraction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLOnDriverDistraction.h b/SmartDeviceLink/SDLOnDriverDistraction.h
index d7f369348..56a854d5f 100644
--- a/SmartDeviceLink/SDLOnDriverDistraction.h
+++ b/SmartDeviceLink/SDLOnDriverDistraction.h
@@ -28,6 +28,12 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (strong, nonatomic) SDLDriverDistractionState state;
+/**
+ If enabled, the lock screen will be able to be dismissed while connected to SDL, allowing users
+ the ability to interact with the app.
+ */
+@property (strong, nonatomic) NSNumber<SDLBool> *lockScreenDismissalEnabled;
+
@end
NS_ASSUME_NONNULL_END