ChannelContext
public final class ChannelContext: NSObject
Channel context
Since
3.1.0-
Event source
Declaration
Swift
public internal(set) var source: CollectionEventSource -
The
EventDetailof current context. Includes detailed information which are provided as function parameters inGroupChannelDelegate.Since
4.21.0Declaration
Swift
public internal(set) var eventDetail: EventDetail -
Initializes with the channel source.
Declaration
Swift
public init(source: CollectionEventSource)Parameters
sourceChannel source.
-
Initializes with the channel source.
Declaration
Swift
public init(source: CollectionEventSource, eventDetail: EventDetail)Parameters
sourceChannel source.
eventDetailThe Event Detail object for the event.
-
Checks whether the context is from an event or not.
Declaration
Swift
public var fromEvent: BoolReturn Value
trueif the context is from an event.
View on GitHub
Install in Dash