PyzeNotificationAction

@interface PyzeNotificationAction : NSObject

PyzeNotificationAction This class contains informations related to the Pyze interactive notification action.

Since

3.7.0
  • Name of the notification action.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *buttonName;
  • Type of the notification action in readable string format

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSString *buttonActionTypeString;

    Swift

    var buttonActionTypeString: UnsafeMutablePointer
  • Type of the notification action.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        PyzeNotificationActionType buttonActionType;

    Swift

    var buttonActionType: Int32 { get set }
  • Deep link url if the, available action type is ‘ePyzeNotificationActionTypeDeepLink’

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSURL *deepLinkURL;
  • Content text to share, available if the action type is ‘ePyzeNotificationActionTypeShare’

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *shareText;
  • Web page url, available if the action type is ‘ePyzeNotificationActionTypeSafari’

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSURL *webPageURL;
  • Action identifier

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *buttonActionIdentifier;