-
public interface TrinityAudio
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTrinityAudio.Companion
-
Method Summary
Modifier and Type Method Description abstract Unitrender(ViewGroup rootView, TrinityPlayerView playerView, String unitId, Point fabViewTopLeftCoordinates, String contentURL, Map<String, String> settings)Renders a Trinity player within the specified rootViewandplayerView.abstract Unitpause(String playerID)abstract UnitpauseAll()abstract Unitinvalidate()abstract Unitevaluate(String javaScript)abstract TrinityPlayerListenergetListener()-
-
Method Detail
-
render
abstract Unit render(ViewGroup rootView, TrinityPlayerView playerView, String unitId, Point fabViewTopLeftCoordinates, String contentURL, Map<String, String> settings)
Renders a Trinity player within the specified
rootViewandplayerView.- Parameters:
rootView- TheViewGroupthat will displaying the FAB.playerView- TheTrinityPlayerView.unitId- The unique identifier.fabViewTopLeftCoordinates- (Optional) The coordinates of the top-left corner of a floating action button (FAB) view, if applicable.contentURL- The URL of the content.settings- (Optional) Additional settings, provided as a key-value map.
-
invalidate
abstract Unit invalidate()
-
getListener
abstract TrinityPlayerListener getListener()
-
-
-
-