This module defines a B2B device's Syncplay functionalities, provided by the Tizen Samsung Product API. Devices assigned to the same group can use Syncplay to play the same content.
Syncplay rotation value. When Syncplay is active, rotation between vertical and horizontal orientations can be enabled or disabled.
enum Rotate {
"ON",
"OFF"
};
The following values are supported
ON : Enabled.
OFF : Disabled.
1.2 Result
Stores the results and information of successful callbacks
dictionary Result {
DOMString result;
DOMString data;
};
The following values are supported
result : Result of the successful callback
data : Saved data of the callback result
1.3 Error
Error value of a callback function
dictionary Error {
long code;
DOMString name;
DOMString message;
};
The following values are supported
code : Error code
name : Error name
message : Error message
1.4 SyncPlayContent
The attribute stores the path and playback time information of Syncplay content.
dictionary SyncPlayContent {
DOMString path;
long duration;
};
The following values are supported
path : Content path (local and remote paths supported)
duration : Content duration time (in seconds)
2. Interfaces
2.1 SyncInfo
Syncplay settings information object
[NoInterfaceObject] interface SyncInfo {
attribute long rectX;
attribute long rectY;
attribute long rectWidth;
attribute long rectHeight;
attribute long groupID;
attribute Rotate rotate;
};
Attributes
longrectX
Syncplay x coordinate
longrectY
Syncplay y coordinate
longrectWidth
Syncplay width value
longrectHeight
Syncplay height value
longgroupID
Syncplay group ID (range: 16-bit int). Each device with the same group ID operates Syncplay as a single group.
The interface defines what is instantiated by the Syncplay object of the Tizen Samsung Product API.
A webapis.syncplay object allows access to the functionality of the Syncplay API.
contentsArr : Array that contains the paths and durations of the playlist content
onsuccess : Callback method to be invoked when this method executes successfully
onerror[optional][nullable] : Callback method to be invoked when an error occurs
The error type is SecurityError if the application does not have the privilege to call this method.
Exceptions :
WebAPIException
with the error type TypeMismatchError if invalid values are passed for an input parameter
onsuccess : Callback method to be invoked when this method executes successfully
onerror[optional][nullable] : Callback method to be invoked when an error occurs
The error type is SecurityError if the application does not have the privilege to call this method.
The error type is UnknownError in any other error case.
Exceptions :
WebAPIException
with the error type TypeMismatchError if an invalid ErrorCallback type is passed for the 'onerror' parameter
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
.samsungdeveloperconference.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
LinkedIn
.linkedin.com
Meta (formerly Facebook)
.samsungdeveloperconference.com
Google Inc.
.samsungdeveloperconference.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
LinkedIn
.ads.linkedin.com, .linkedin.com
Advertising Cookies
These cookies gather information about your browser habits. They remember that
you've visited our website and share this information with other organizations such
as advertisers.
Company
Domain
LinkedIn
.linkedin.com
Meta (formerly Facebook)
.samsungdeveloperconference.com
Google Inc.
.samsungdeveloperconference.com
Preferences Submitted
You have successfully updated your cookie preferences.