diff options
author | lapinskijw <jlapinski.dev@gmail.com> | 2020-06-05 09:32:45 -0400 |
---|---|---|
committer | lapinskijw <jlapinski.dev@gmail.com> | 2020-06-05 09:32:45 -0400 |
commit | d254b5731efea6ae9e027f7f931910d393d63b86 (patch) | |
tree | 86857b0396c84fa772f4092a8b91201dc6c65226 | |
parent | 936c91bf64b5f1af683dc0f6cc7a631bbe97c158 (diff) | |
download | sdl_ios-d254b5731efea6ae9e027f7f931910d393d63b86.tar.gz |
fixed typo
-rw-r--r-- | SmartDeviceLink/SDLPermissionConstants.h | 4 | ||||
-rw-r--r-- | SmartDeviceLink/SDLPermissionManager.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLPermissionConstants.h b/SmartDeviceLink/SDLPermissionConstants.h index 09813a557..836423030 100644 --- a/SmartDeviceLink/SDLPermissionConstants.h +++ b/SmartDeviceLink/SDLPermissionConstants.h @@ -68,11 +68,11 @@ typedef NS_ENUM(NSUInteger, SDLPermissionGroupStatus) { typedef void (^SDLPermissionsChangedHandler)(NSDictionary<SDLPermissionRPCName, NSNumber *> *_Nonnull change, SDLPermissionGroupStatus status); /** -* The SDLObeservedPermissionsChangedHandler is a block that is passed in to subscribeToRPCs:groupType:withHandler: that will be stored and called when specified permissions change. +* The SDLObservedPermissionsChangedHandler is a block that is passed in to subscribeToRPCs:groupType:withHandler: that will be stored and called when specified permissions change. * * @param change A dictionary of permission changes containing <key(SDLRPCFunctionName): RPC Name, object(BOOL): YES if the RPC is allowed, NO if it is not allowed> * @param status The change made to all of the RPCs in the changedDict. Allowed, if all RPCs are now allowed, Disallowed if all RPCs are now disallowed, or Mixed if some are allowed, and some are disallowed */ -typedef void (^SDLObeservedPermissionsChangedHandler)(NSDictionary<SDLRPCFunctionName, NSNumber *> *_Nonnull change, SDLPermissionGroupStatus status); +typedef void (^SDLObservedPermissionsChangedHandler)(NSDictionary<SDLRPCFunctionName, NSNumber *> *_Nonnull change, SDLPermissionGroupStatus status); NS_ASSUME_NONNULL_END diff --git a/SmartDeviceLink/SDLPermissionManager.h b/SmartDeviceLink/SDLPermissionManager.h index 096c0acae..2f93c368f 100644 --- a/SmartDeviceLink/SDLPermissionManager.h +++ b/SmartDeviceLink/SDLPermissionManager.h @@ -119,7 +119,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return An identifier that can be passed to removeObserverForIdentifer: to remove the observer */ -- (SDLPermissionObserverIdentifier)subscribeToRPCs:(NSArray<SDLRPCFunctionName> *)rpcNames groupType:(SDLPermissionGroupType)groupType withHandler:(SDLObeservedPermissionsChangedHandler)handler; +- (SDLPermissionObserverIdentifier)subscribeToRPCs:(NSArray<SDLRPCFunctionName> *)rpcNames groupType:(SDLPermissionGroupType)groupType withHandler:(SDLObservedPermissionsChangedHandler)handler; /** * Remove every current observer |