FeedChannelContext
public final class FeedChannelContext: NSObject
Channel context
Since
3.1.0-
Event source
Declaration
Swift
public internal(set) var source: CollectionEventSource
-
The
EventDetail
of current context. Includes detailed information which are provided as function parameters inFeedChannelDelegate
.Since
4.21.0Declaration
Swift
public internal(set) var eventDetail: EventDetail
-
Initializes with the channel source.
Declaration
Swift
public init(source: CollectionEventSource)
Parameters
source
Channel source.
-
Initializes with the channel source.
Declaration
Swift
public init(source: CollectionEventSource, eventDetail: EventDetail)
Parameters
source
Channel source.
eventDetail
The Event Detail object for the event.
-
Checks whether the context is from an event or not.
Declaration
Swift
public var fromEvent: Bool
Return Value
true
if the context is from an event.