ChannelScope
@objc(UAChannelScope)
public enum ChannelScope : Int, Codable, CustomStringConvertible, Sendable, Equatable
Channel scope.
-
App channels - amazon, android, iOS
Declaration
Swift
case app
-
Web channels
Declaration
Swift
case web
-
Email channels
Declaration
Swift
case email
-
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 }