UnityPlayerInstanceManager

Manages creation of UnityPlayerWrapper and notifies the listener about this event.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Currently active UnityWallpaperService.UnityPlayerHolder, or null if none is active.

Link copied to clipboard
Link copied to clipboard

UnityPlayerWrapper instance. There could be only one.

Functions

Link copied to clipboard

Creates a UnityPlayerWrapper immediately using the contextWrapper.

Link copied to clipboard

Registers a IUnityPlayerInstanceCreatedListener to be called when UnityPlayer instance is created. Note: there is no unregister method. Listener list is cleared automatically when UnityPlayer instance is created.

Link copied to clipboard

Requests that Unity player should be created.