To use Samsung Product API, <script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script> Should be loaded in index.html
To use Samsung Product API,
<script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script>
Should be loaded in index.html
Since : 2.3
Product : TV, AV_BD, B2B (LFD, IWB)
[NoInterfaceObject] interface AVPlayStoreManagerObject { readonly attribute AVPlayStoreManager avplaystore; };
WebApi implements AVPlayStoreManagerObject;
[NoInterfaceObject] interface AVPlayStoreManager { AVPlayManagerObject getPlayer(); };
getPlayer
AVPlayManagerObject getPlayer();
Return value:
Exceptions:
with error type QUOTA_EXCEEDED_ERR (Max player count reached) if there is insufficient memory to create the instance, or the number of player instances exceeds 4.
module AVPlayStore { [NoInterfaceObject] interface AVPlayStoreManagerObject { readonly attribute AVPlayStoreManager avplaystore; }; WebApi implements AVPlayStoreManagerObject; [NoInterfaceObject] interface AVPlayStoreManager { AVPlayManagerObject getPlayer(); }; };