top

AllShare API Reference (ASF 1.5)

Published 2014-10-28 | (Compatible with SDK 4.5,5.0,5.1 and 2013,2014 models)

This chapter defines a set of application interface used for developing convergence services such as contents sharing, device control, etc. Compatible with Samsung SDK 4.0 or higher and 2013,2014 devices.

Note

This document contains information about AllShare API compatible with Samsung SDK 4.0 or above and 2013, 2014 devices. If you are using an earlier version, see the AllShare API Reference (ASF 0.4).

Table of Contents:

Introduction

This section defines AllShare APIs that would be used to develop convergence services such as media sharing. The AllShare APIs provides the below features applicable to any type of devices including mobile, smart tv, pc, etc:

  • Media Sharing
    • discover DLNA devices in a network.
    • browse and search the media contents shared by DLNA devices in a network.
    • playback media contents on a DLNA device in a network.

Developers can use AllShare APIs through the webapis.allshare namespace and each service will be provided through the serviceconnector attribute. The relationship among APIs is shown in the below figure:

AllShare APIs

Feature Sub feature Module Description
Service Management asfservice This API allows developers to initiate the AllShare Framework (ASF).
Device Discovery devicediscovery This API allows developers to get a list of discovered AllShare devices with a specified ID, domain and NIC.
Media sharing Contents Discovery provider contents shared by DLNA devices.
item This API allows developers to retrieve information of media contents.