ContentSession
A ContentSession
instance represents a program item, usually related to a live feed.
ContentSession
instance needs to be set in both ChatViewController
and WidgetPopupViewController
to receive chat/widgets.
-
A unique ID to identify the content currently being played.
-
The status of the
ContentSession
-
An object that acts as the delegate of the content session.
-
Pauses Widget components.
Pausing stops new widgets from being displayed. Any widgets currently being displayed, will be dimissed.
Widgets will still be received by the Engagement SDK, but will only be displayed after
resume()
is called, unless they have timed out. -
Resumes Widget components.
-
Closes the current session.
-
Retrieves widgets that have already been posted. Each request returns a maximum of 20 posted widgets.
-
Get the reward items that can be earned on this Program.
-
Get the Leaderboard Clients associated with this Program.
-
Get Chat Session associated with this Program
-
Loads the latest widgets from the server
-
Get widget models based on the options parameter provided
-
Loads a widget from the server by id as a WidgetModel
-
Makes a WidgetModel from a widget json
-
-
Get widget interactions based on widget kinds (accepts multiple widget kinds as an array)