summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlapinskijw <jlapinski.dev@gmail.com>2020-06-02 10:11:07 -0400
committerlapinskijw <jlapinski.dev@gmail.com>2020-06-02 10:11:07 -0400
commitd6b5c41e29b86fd628ad00b36500fcfce05c80ec (patch)
tree098ae48850494b6bda19b3e5deee2d0c46f09c05
parent5e38806813060bd0d940169d0db05908a6399c98 (diff)
downloadsdl_ios-d6b5c41e29b86fd628ad00b36500fcfce05c80ec.tar.gz
updated inline documentation to make it more clear when observer block will be called
-rw-r--r--SmartDeviceLink/SDLPermissionManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLPermissionManager.h b/SmartDeviceLink/SDLPermissionManager.h
index 78866fc90..39bbc2595 100644
--- a/SmartDeviceLink/SDLPermissionManager.h
+++ b/SmartDeviceLink/SDLPermissionManager.h
@@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN
* @warning The observer may be called before this method returns, do not attempt to remove the observer from within the observer. That could send `nil` to removeObserverForIdentifier:. If you want functionality like that, call groupStatusOfRPCs: instead.
*
* @param rpcNames The RPCs to be observed
- * @param groupType Affects the times that the observer block will be called. If Any, any change to any RPC in rpcNames will cause the observer block to be called. If AllAllowed, the block will be called when: 1. Every RPC in rpcNames becomes allowed 2. The group of rpcNames goes from all being allowed to some or all being disallowed.
+ * @param groupType Affects the times that the observer block will be called. If Any, any change to any RPC in rpcNames will cause the observer block to be called. If AllAllowed, the block will be called when: 1. Immediately when the observer is set regardless of RPC status 2. Every RPC in rpcNames becomes allowed 3. The group of rpcNames goes from all being allowed to some or all being disallowed.
* @param handler The block that will be called whenever permissions change.
*
* @return An identifier that can be passed to removeObserverForIdentifer: to remove the observer