Samsung Web API enables you to develop convergence services such as media sharing and control sharing through AllShare.
AllShare is provided as a service with AllShare Framework (ASF) which is pre-installed on Samsung devices and it will be initiated using the ASF Service API.
The main features of the AllShare API include:
- Connecting AllShare Framework Service
You can connect ASF Service by creating an ServiceProvider object with createServiceProvider() API.
ServiceProvider object brings a DeviceFinder object which is for device discovery and a ServiceState object for which checks the status of the service.
- Discovering AllShare Devices
You can get various type of devices to be abled to connect for AllShare service.
- Browsing and Searching Contents
You can retrieve media contents from remote media server (DMS) using the browse() API or search() API of MediaProvider interface.
- Playing Media Contents
You can play media contents on local device or remote device with the playback controlling and monitoring.
- Transferring Contents
- Smart TV Control
You can control Samsung Smart TV seems like controlling with remote controller (a.k.a remocon), keyword and mouse.using TVController. Also, ViewController is provided for the expanded images view control.