SINManagedPushDelegate

Objective-C

@protocol SINManagedPushDelegate <NSObject>

Swift

protocol SINManagedPushDelegate : NSObjectProtocol

SINManagedPushDelegate

  • Tells the delegate that a remote notification was received. The remote notification may be either a VoIP remote push notification, or a regular push remote notification.

    Declaration

    Objective-C

    - (void)managedPush:(SINManagedPush *)managedPush
        didReceiveIncomingPushWithPayload:(NSDictionary *)payload
                                  forType:(NSString *)pushType;

    Swift

    func managedPush(_ managedPush: SINManagedPush!, didReceiveIncomingPushWithPayload payload: [AnyHashable : Any]!, forType pushType: String!)

    Parameters

    managedPush

    managed push instance that received the push notification

    payload

    The dictionary payload that the push notification carried.

    pushType

    SINPushTypeVoIP