BMSPushClientOptions
public class BMSPushClientOptions : NSObject
This class is to set options for push notifications.
-
Initialze Method .
Declaration
Swift
public override init()
-
Initialze Method - Deprecated.
Declaration
Swift
@available(*, deprecated, message: "This method was deprecated , please use init(categoryName:_ withDeviceId:_ ﹚") public init(categoryName category: [BMSPushNotificationActionCategory])
Parameters
categoryName
An array of
BMSPushNotificationActionCategory
. -
set DeviceId Method
Declaration
Swift
public func setDeviceId(deviceId: String)
Parameters
withDeviceId
(Optional) The DeviceId for applications.
-
set Interactive Notification Categories Method
Declaration
Swift
public func setInteractiveNotificationCategories(categoryName category: [BMSPushNotificationActionCategory])
Parameters
categoryName
An array of
BMSPushNotificationActionCategory
. -
set Push Variables for template based push Notification.
Declaration
Swift
public func setPushVariables(pushVariables variables: [String : String])
Parameters
pushVariables
a [String:String] values.