MoEngagePlatformInfo

public struct MoEngagePlatformInfo

Platform name and OS type Info.

  • The name of the platform.

    Declaration

    Swift

    public let platformType: String
  • The OS type of platform.

    Declaration

    Swift

    public let osType: String?
  • Gets current type as a dictionary to be merged with request.

    Declaration

    Swift

    public func asRequestPayload() -> [String : String]

    Return Value

    The payload disctionary.

  • Fetches current platform info detail.

    Declaration

    Swift

    public static func current() -> MoEngagePlatformInfo

    Return Value

    The current platform info.