// // SDLRPCResponseNotification.h // SmartDeviceLink-iOS // // Created by Joel Fischer on 8/25/16. // Copyright © 2016 smartdevicelink. All rights reserved. // #import @class SDLRPCResponse; NS_ASSUME_NONNULL_BEGIN @interface SDLRPCResponseNotification : NSNotification @property (copy, nonatomic, readonly) __kindof SDLRPCResponse *response; - (instancetype)initWithName:(NSString *)name object:(nullable id)object rpcResponse:(__kindof SDLRPCResponse *)response; /** * Returns whether or not the containing response is equal to a class, not including subclasses. * * @param aClass the class you are questioning */ - (BOOL)isResponseMemberOfClass:(Class)aClass; /** * Returns whether or not the containing response is a kind of class, including subclasses. * * @param aClass the class you are questioning */ - (BOOL)isResponseKindOfClass:(Class)aClass; @end NS_ASSUME_NONNULL_END