An object containing the result status of a permission element request
Name of the individual RPC.
Required
@property (nonatomic, strong, readonly) SDLRPCFunctionName _Nonnull rpcName;
var rpcName: SDLRPCFunctionName { get }
Whether or not the RPC is allowed.
@property (nonatomic, readonly, getter=isRPCAllowed) BOOL rpcAllowed;
var isRPCAllowed: Bool { get }
Holds a dictionary of RPC parameters and objects of an NSNumber
@property (nonatomic, strong, readonly, nullable) NSDictionary<NSString *, NSNumber *> *rpcParameters;
var rpcParameters: [String : NSNumber]? { get }
Initializes a SDLRPCPermissionStatus object.
- (nonnull instancetype)initWithRPCName:(nonnull SDLRPCFunctionName)rpcName
isRPCAllowed:(BOOL)isRPCAllowed
rpcParameters:
(nullable NSDictionary<NSString *, NSNumber *> *)
rpcParameters;
init(rpcName: SDLRPCFunctionName, isRPCAllowed: Bool, rpcParameters: [String : NSNumber]?)
The name of the RPC.
The permission status for the RPC.
A dictionary of RPC parameters and objects of an NSNumber
An instance of the SDLRPCPermissionStatus class.