top

Samsung Product API References

The Samsung Product API extends the capabilities of your application beyond those provided by the Tizen Web Device API.

Note

To use Samsung Product API,

<script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script>

should be loaded in index.html.

The following APIs provide access to features specific to Samsung TVs.

Table 1. Samsung TV Product APIs
API Description Since
WebAPI You can access the basic definitions used in the Samsung Product API for Smart TVs. 2.3
AppCommon You can switch the screensaver on and off. 2.3
ASFService You can share media content between DLNA-certified devices by initializing and using the AllShare Framework. You can retrieve a list of discovered AllShare devices with a specified ID or information about media files and folders, such as the file extension and size, and content duration. 2.3
AVInfo You can retrieve information about the screen and audio modes of the TV. You can also set the widescreen mode. 2.3
AVPlay You can implement audio and video playback. 2.3
Billing You can develop a billing system for your application, to allow users to make purchases within your application. 2.4
DrmInfo You can retrieve DRM information. 2.3
Microphone You can manage a microphone connected to the TV. 2.3
Network You can access information about the network connection and connection-related events. 2.3
Preview You can use Smart Hub Preview to show deep links to application content. 2.3
ProductInfo You can retrieve information about the TV, such as the device unique ID (DUID), and the model code. You can also retrieve and set system configuration parameters. 2.3
SmartController You can access the accelerometer and gyroscope sensors in the Samsung Smart Remote. This API is deprecated since Tizen 2.4. 2.3
Sso You can access the single sign-on (SSO) features. 2.3
TvInfo You can manage the TV settings. 2.3
WidgetData You can store data in the application secure storage. 2.3
Note

  • AppCommonKeyName type definition of AppCommon API is supported since 2.4, and "Ambient" key is defined since 4.0.
  • applyInvoice(), verifyInvoice(), cancelSubscription(), getProductsList(), getUserPurchaseList(), getVersion() and isServiceAvailable()methods of BillingManager interface of Billing API are supported since 4.0,
  • read(), write() andremove() methods of WidgetDataManager interface of WidgetData API are supported since 4.0.