class unreal.MagicLeapScreensFunctionLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Magic Leap Screens Function Library

C++ Source:

  • Plugin: MagicLeapScreens
  • Module: MagicLeapScreens
  • File: MagicLeapScreensFunctionLibrary.h
classmethod add_to_watch_history_async(new_entry, result_delegate) → None

Asynchronously requests to adds a new entry into the watch history. NewEntry Watch history entry to add.: ResultDelegate Delegate that is called once the add request has been resolved. The resulting FScreensWatchHistoryEntry returned. on success contains the new ID of the added entry.:

classmethod clear_watch_history() → bool

Removes all watch history entries.

Returns:True when all watch history entries have been successfully removed.
Return type:bool
classmethod get_screens_transforms() → Array(ScreenTransform) or None

Gets the transform for all watch history entries. ScreenTransforms Array of transforms that corresponse to all current watch history entries.:

Returns:True when the request for all transforms succeeds

screen_transforms (Array(ScreenTransform)):

Return type:Array(ScreenTransform) or None
classmethod get_watch_history_async(result_delegate) → None

Asynchronously requests all watch history entries. ResultDelegate Delegate that is called once the request has been resolved.:

Parameters:result_delegate (ScreensHistoryRequestResultDelegate) –
classmethod remove_watch_history_entry(id) → bool

Removes an entry from the watch history that corresponse with the ID passed. ID ID of the watch history entry to remove.:

Parameters:id (ScreenID) –
Returns:True when the entry is sucessfully removed.
Return type:bool
classmethod update_watch_history_entry_async(update_entry, result_delegate) → None

Asynchronously requests to update an entry in the watch history UpdateEntry Watch history entry to update. The ID of this entry must be valid and in the watch history in order for the update to resolve successfully: ResultDelegate Delegate that is called once the update request has been resolved.: