unreal.ScreensWatchHistoryEntry

class unreal.ScreensWatchHistoryEntry(id=[], title='', subtitle='', playback_position=[0, 0, 0, 0, 0], playback_duration=[0, 0, 0, 0, 0], custom_data='', thumbnail=None)

Bases: unreal.StructBase

Channel watch history, may be displayed in the Screens Launcher application.

C++ Source:

  • Plugin: MagicLeapScreens
  • Module: MagicLeapScreens
  • File: MagicLeapScreensTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • custom_data (str): [Read-Write] Any data the application might want to save off in the watch history and then receive back from the Screens Launher.
  • id (ScreenID): [Read-Only] Entry Identifier. Must be used to update and delete a given entry.
  • playback_duration (Timespan): [Read-Write] Total duration of the media. Can be fed from UMediaPlayer::GetDuration()
  • playback_position (Timespan): [Read-Write] Current media playback position. Can be fed from UMediaPlayer::GetTime().
  • subtitle (str): [Read-Write] Subtitle of the media for which this entry is created.
  • thumbnail (Texture2D): [Read-Write] Thumbnail to be shown in the Screens Launcher application for this watch history entry.
  • title (str): [Read-Write] Title of the media for which this entry is created.
custom_data

(str) – [Read-Write] Any data the application might want to save off in the watch history and then receive back from the Screens Launher.

id

(ScreenID) – [Read-Only] Entry Identifier. Must be used to update and delete a given entry.

playback_duration

(Timespan) – [Read-Write] Total duration of the media. Can be fed from UMediaPlayer::GetDuration()

playback_position

(Timespan) – [Read-Write] Current media playback position. Can be fed from UMediaPlayer::GetTime().

subtitle

(str) – [Read-Write] Subtitle of the media for which this entry is created.

thumbnail

(Texture2D) – [Read-Write] Thumbnail to be shown in the Screens Launcher application for this watch history entry.

title

(str) – [Read-Write] Title of the media for which this entry is created.