DefaultModality
@objcMembers
public class DefaultModality : NSObject
DefaultModality
is a backwards compatible extension of the
attendee id (UUID string) and session token schemas (base 64 string).
It appends #
For example,
attendeeId
: “abcdefg”
contentAttendeeId
: “abcdefg#content”
DefaultModality(id: contentAttendeeId).base
: “abcdefg”
DefaultModality(id: contentAttendeeId).modality
: “content”
DefaultModality(id: contentAttendeeId).isOfType(type: .content)
: true
-
Declaration
Swift
public let id: String
-
Declaration
Swift
public let base: String
-
Declaration
Swift
public let modality: String?
-
Declaration
Swift
public static let separator: Character
-
Declaration
Swift
public init(id: String)
-
Declaration
Swift
public func isOfType(type: ModalityType) -> Bool