Apns

public struct Apns

Settings specific to the iOS platform.

  • The required intializer for the Apns class.

    Declaration

    Swift

    public init(badge: Int? = nil, interactiveCategory: String? = nil, iosActionKey: String? = nil, sound: String? = nil, type: ApnsType? = nil, payload: [String : Any]? = nil, titleLocKey: String? = nil, locKey: String? = nil, launchImage: String? = nil, titleLocArgs: [String]? = nil, locArgs: [String]? = nil, title: String? = nil, subtitle: String? = nil, attachmentUrl: String? = nil, apnsCollapseId: String? = nil, apnsThreadId: String? = nil, apnsGroupSummaryArg: String? = nil, apnsGroupSummaryArgCount: Int? = nil)

    Parameters

    badge

    (Optional) APNs badge value.

    interactiveCategory

    (Optional) APNs interactiveCategory value.

    iosActionKey

    (Optional) APNs iosActionKey value.

    sound

    (Optional) APNs sound name.

    type

    (Optional) APNs Notifications type value.

    payload

    (Optional) APNs additional payload JSON.

    titleLocKey

    (Optional) APNs titleLocKey value.

    locKey

    (Optional) APNs locKey value.

    launchImage

    (Optional) APNs launchImage value.

    titleLocArgs

    (Optional) APNs titleLocArgs array.

    locArgs

    (Optional) APNs locArgs Array.

    title

    (Optional) APNs iOS 10 title value.

    subtitle

    (Optional) APNs iOS 10 subtitle value.

    attachmentUrl

    (Optional) APNs iOS 10 media url.

    apnsCollapseId

    (Optional) APNs apns-collapse-Id

    apnsThreadId

    (Optional) APNs apns thread id

    apnsGroupSummaryArg

    (Optional) APNs group summary arg

    apnsGroupSummaryArgCount

    (Optional) APNs group summary arg count