Target

public struct Target

Specifies the recipients of the notification.

  • The required intializer for the Target class.

    Declaration

    Swift

    public init(deviceIds: [String]? = nil, userIds: [String]? = nil, platforms: [TargetPlatform]? = nil, tagNames: [String]? = nil)

    Parameters

    deviceIds

    (Optional)Target DeviceIds as an array.

    userIds

    (Optional)Target userIds as an array.

    platforms

    (Optional)Target platforms as an array.

    tagNames

    (Optional)Target tagNames as an array.