INSPushAction Class Reference

Inherits from NSObject
Declared in INSPushAction.h

Overview

INSPushAction class represents an action entity that will be configured according to your client configuration on the server.

This action will be created by the SDK and passing through INSPushDelegate callback methods to application. You can use the automatically generated action properties or update with your own values. For example: when the action is triggered, you can customize the notification title or body for a specific user.

  type

Action type.

@property (nonatomic, assign, readonly) INSActionType type

See Also

Declared In

INSPushAction.h

  label

Action label.

@property (nonatomic, copy, readonly) NSString *label

Declared In

INSPushAction.h

  content

Action content.

@property (nonatomic, copy, readonly) NSString *content

Declared In

INSPushAction.h

  filters

Action filters.

@property (nonatomic, copy, readonly) NSString *filters

Declared In

INSPushAction.h

  notification

Action notification if configured, otherwise nil.

@property (nonatomic, strong, readwrite) UILocalNotification *notification

Discussion

This value can be updated before execution (i.e. you can change its title, body and userInfo properties or set directly a new local notification before presentation or simply set to nil to discard presentation).

Declared In

INSPushAction.h