Class: Kaltura::KalturaViewHistoryUserEntry
- Inherits:
-
KalturaUserEntry
- Object
- KalturaObjectBase
- KalturaUserEntry
- Kaltura::KalturaViewHistoryUserEntry
- Defined in:
- lib/kaltura_plugins/kaltura_view_history_client_plugin.rb
Instance Attribute Summary collapse
-
#last_time_reached ⇒ Object
Last playback time reached by user.
-
#last_update_time ⇒ Object
Returns the value of attribute last_update_time.
-
#playback_context ⇒ Object
Playback context.
-
#playlist_last_entry_id ⇒ Object
Property to save last entry ID played in a playlist.
Attributes inherited from KalturaUserEntry
#created_at, #entry_id, #extended_status, #id, #partner_id, #status, #type, #updated_at, #user_id
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#last_time_reached ⇒ Object
Last playback time reached by user
36 37 38 |
# File 'lib/kaltura_plugins/kaltura_view_history_client_plugin.rb', line 36 def last_time_reached @last_time_reached end |
#last_update_time ⇒ Object
Returns the value of attribute last_update_time.
37 38 39 |
# File 'lib/kaltura_plugins/kaltura_view_history_client_plugin.rb', line 37 def last_update_time @last_update_time end |
#playback_context ⇒ Object
Playback context
34 35 36 |
# File 'lib/kaltura_plugins/kaltura_view_history_client_plugin.rb', line 34 def playback_context @playback_context end |
#playlist_last_entry_id ⇒ Object
Property to save last entry ID played in a playlist.
39 40 41 |
# File 'lib/kaltura_plugins/kaltura_view_history_client_plugin.rb', line 39 def playlist_last_entry_id @playlist_last_entry_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/kaltura_plugins/kaltura_view_history_client_plugin.rb', line 48 def from_xml(xml_element) super if xml_element.elements['playbackContext'] != nil self.playback_context = xml_element.elements['playbackContext'].text end if xml_element.elements['lastTimeReached'] != nil self.last_time_reached = xml_element.elements['lastTimeReached'].text end if xml_element.elements['lastUpdateTime'] != nil self.last_update_time = xml_element.elements['lastUpdateTime'].text end if xml_element.elements['playlistLastEntryId'] != nil self.playlist_last_entry_id = xml_element.elements['playlistLastEntryId'].text end end |