Samsung Electronics logo

Samsung Web API: Media Sharing APIs


Introduction

Developers can discover DLNA devices through APIs provided by the DeviceFinder module. A DLNA device can be a digital media server (DMS) or a digital media render (DMR). DMS devices, represented by the Provider module, share media content located on the devices to other DLNA devices. DMR devices, represented by the AVPlayer module or ImageViewer module, are able to play the media content shared by DMS devices. Detailed information on DLNA is available on www.dlna.org.

Developers can browse and search shared media content through APIs provided by the Provider module. The media content can be image files or audio (video) files located on the DMS device that shares the files. The media content is represented by the Item module. In order to playback the files, a proper type of media player is required as the media type. Developers must use the APIs provided by the ImageViewer module for the image type and the APIs provided by the AVPlayer module for the audio or video type.

 

Media Sharing APIs

Feature Subfeature Module Description
Media Sharing Content Discovery Provider This interface provides interfaces to browse and search media content shared by DLNA devices and to download content from a remote DMS.
Item This API provides interfaces to retrieve information about media content.
Playback Content AVPlayer This interface provides interfaces to play audio (or video) content on a DLNA device.
ImageViewer This interface provides interfaces to play image content on a DLNA device.