To use Samsung Product API,
<script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script>
Should be loaded in index.html
Since : 2.4
Product : SSSP
Interface | Method |
---|---|
AVPlayStoreManagerObject | |
AVPlayStoreManager | AVPlayManagerObject getPlayer(); |
[NoInterfaceObject] interface AVPlayStoreManagerObject {
readonly attribute AVPlayStoreManager avplaystore;
};
WebApi implements AVPlayStoreManagerObject;
[NoInterfaceObject] interface AVPlayStoreManager {
AVPlayManagerObject getPlayer();
};
getPlayer
AVPlayManagerObject getPlayer();
Return value:
AVPlayManagerObject Created AVPlayManagerObject objectExceptions:
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();
};
};