Samsung Product API References for Smart TV
The Samsung Product API extends the capabilities of your application beyond those provided by the Tizen TV Web Device API.
To use Samsung Product API,
should be loaded in "index.html".
The following APIs provide access to features specific to Smart TVs.
|WebApi||You can access the basic definitions used in the Samsung Product API for Smart TVs.||2.3|
|AdInfo||You can retrieve advertising identifier information.||2.4|
|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|
|AVPlayStore||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|
|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|
|Sso||You can access the single sign-on (SSO) features.||2.3|
|SystemInfo||You can get the system state and settings information.||6.0|
|TvInfo||You can manage the TV settings.||2.3|
|VoiceInteraction||You can use voice commands to control applications.||6.0|
|WidgetData||You can store data in the application secure storage.||2.3|
Table 1. Samsung Product APIs for Smart TV
AppCommonKeyNametype definition of AppCommon API is supported since 2.4, and the
"Ambient"key is defined since Tizen 4.0.
isServiceAvailable()methods of the
BillingManagerinterface of the Billing API are supported since Tizen 4.0.
remove()methods of the
WidgetDataManagerinterface of the WidgetData API are supported since Tizen 4.0.