ChannelScope

@objc(UAChannelScope)
public enum ChannelScope : Int, Codable, CustomStringConvertible, Sendable, Equatable

Channel scope.

  • app

    App channels - amazon, android, iOS

    Declaration

    Swift

    case app
  • web

    Web channels

    Declaration

    Swift

    case web
  • Email channels

    Declaration

    Swift

    case email
  • sms

    SMS channels

    Declaration

    Swift

    case sms
  • The string value of the scope

    Declaration

    Swift

    public var stringValue: String { get }

    Return Value

    The string value of the scope

  • Returns a channel scope from a string.

    Declaration

    Swift

    public static func fromString(_ value: String) throws -> ChannelScope

    Parameters

    value

    The string value

    Return Value

    A channel scope.

  • Declaration

    Swift

    public var description: String { get }