Difference between revisions of "SetMovieResumeData"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Set the resume information for the movie playback of the user |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=r...")
 
Line 19: Line 19:
 
ParamName=time
 
ParamName=time
 
|ParamType=int
 
|ParamType=int
|ParamRequired=optional
+
|ParamRequired=required
 
|ParamDescription=Current playback time in seconds (optional) (-1 when the movie is ended)
 
|ParamDescription=Current playback time in seconds (optional) (-1 when the movie is ended)
 
}}
 
}}

Revision as of 22:02, 4 August 2014

Description

Set the resume information for the movie playback of the user

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":
{ bool }

}


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