Difference between revisions of "SetMovieResumeData"

From Gvp-public
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Api_Method_Spec|
 
{{Api_Method_Spec|
Description=Set the resume information for the movie playback of the user
+
Description=Set the resume information for the movie playback of the user. This information is used to set on the GVP the exactly time watched by the user should be storage on the platform. This feature allow the client application restart the reproduction from the moment that he stopped.
 +
 
 +
This method has two optional parameter that can be used to storage the currently subtitle and audio. This information is taken from the Movie object in his moment.
  
 
|Parameters=
 
|Parameters=
Line 45: Line 47:
 
:    <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>,
 
:    <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
:    <span style="color: #a11;">"Content"</span>:  
+
:    <span style="color: #a11;">"Content"</span>: true
::    { <span style="color: #219;">bool</span> }
 
 
}
 
}
  

Latest revision as of 22:07, 4 August 2014

Description

Set the resume information for the movie playback of the user. This information is used to set on the GVP the exactly time watched by the user should be storage on the platform. This feature allow the client application restart the reproduction from the moment that he stopped.

This method has two optional parameter that can be used to storage the currently subtitle and audio. This information is taken from the Movie object in his moment.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • movieId (int, required)
Movie Id of the resume information
  • time (int, required)
Current playback time in seconds (optional) (-1 when the movie is ended)
  • subtitleId (int, optional)
Current subtitle id chosen for this movie (optional).
  • audioCode (String, optional)
Current audio track code chosen for this movie (optional)


Returns

Returns a JSON object containing true if change was made, false if no change was made.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": true

}


Exceptions

  • None


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also