110 likes | 212 Views
Study ‘Developer Documentation’ - CONVERGENCE APP -. Sun-a, Kim Yoon kyoung , Kim. Convergence app.
E N D
Study ‘Developer Documentation’ - CONVERGENCE APP - Sun-a, Kim Yoon kyoung, Kim
Convergence app Samsung Smart TV SDK supports device convergence by allowing a client application running on an external device to communicate with a TV application to synchronize state and exchange data and files. Convergence support is realized by providing a messaging system that allows the TV and other devices to exchange messages, including file attachments.
Convergence app A Smart TV convergence application provides a REST-based interface so that device supporting HTTP protocol can communicate with the TV using UPnP discovery. Examples of HTTP devices include, but are not limited to, accessories such as smart phones, tablets, desktops, and laptops.
Messaging system The main purpose of the Convergence Framework is to enable transparent two way communication between the TV application and devices. Each application is responsible for defining its own message format and interpreting them.
Messaging system A message is XML or JSON text data. Messages can include attachments, such as image or audio files. Note: Some predefined system messages must be handled by all the applications. All system messages are in JSON format.
Messaging system The Samsung Smart TV Framework creates a message queue for the TV application and a message queue for each client device connected to the application.
THE FRAMEWORK SUPPORTS HTTPS for secure communication The following types of message exchanges: Device to TV TV to device TV to device group Device to device group
THE FRAMEWORK SUPPORTS Full-duplex communication in 2 directions: Clients to the TV Clients send messages to the TV application using POST requests.
THE FRAMEWORK SUPPORTS TV application to clientsOnce the client device is connected, it must maintain a long polling GET to allow TV applications to send messages to clients at any time.