Type.registerNamespace('BE_Connected.webservice');
BE_Connected.webservice.PlaySession=function() {
BE_Connected.webservice.PlaySession.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BE_Connected.webservice.PlaySession.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BE_Connected.webservice.PlaySession._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetFilePathBySessionID:function(p_Session_ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFilePathBySessionID',false,{p_Session_ID:p_Session_ID},succeededCallback,failedCallback,userContext); },
GetPlayRecordByUserIDAndSessionID:function(p_BeUser_ID,p_Session_ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPlayRecordByUserIDAndSessionID',false,{p_BeUser_ID:p_BeUser_ID,p_Session_ID:p_Session_ID},succeededCallback,failedCallback,userContext); },
InsertUser_Session_Progress:function(p_BeUser_ID,p_Session_ID,p_Status_ID,p_CurrentPosition,p_CurrentPositionTimecode,p_CurrentPositionString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertUser_Session_Progress',false,{p_BeUser_ID:p_BeUser_ID,p_Session_ID:p_Session_ID,p_Status_ID:p_Status_ID,p_CurrentPosition:p_CurrentPosition,p_CurrentPositionTimecode:p_CurrentPositionTimecode,p_CurrentPositionString:p_CurrentPositionString},succeededCallback,failedCallback,userContext); },
UpdateUser_Session_Progress:function(p_BeUser_ID,p_Session_ID,p_Status_ID,p_CurrentPosition,p_CurrentPositionTimecode,p_CurrentPositionString,p_WatchedPeriod,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateUser_Session_Progress',false,{p_BeUser_ID:p_BeUser_ID,p_Session_ID:p_Session_ID,p_Status_ID:p_Status_ID,p_CurrentPosition:p_CurrentPosition,p_CurrentPositionTimecode:p_CurrentPositionTimecode,p_CurrentPositionString:p_CurrentPositionString,p_WatchedPeriod:p_WatchedPeriod},succeededCallback,failedCallback,userContext); },
PlayVideo:function(p_UserID,p_SessionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlayVideo',false,{p_UserID:p_UserID,p_SessionID:p_SessionID},succeededCallback,failedCallback,userContext); }}
BE_Connected.webservice.PlaySession.registerClass('BE_Connected.webservice.PlaySession',Sys.Net.WebServiceProxy);
BE_Connected.webservice.PlaySession._staticInstance = new BE_Connected.webservice.PlaySession();
BE_Connected.webservice.PlaySession.set_path = function(value) { BE_Connected.webservice.PlaySession._staticInstance.set_path(value); }
BE_Connected.webservice.PlaySession.get_path = function() { return BE_Connected.webservice.PlaySession._staticInstance.get_path(); }
BE_Connected.webservice.PlaySession.set_timeout = function(value) { BE_Connected.webservice.PlaySession._staticInstance.set_timeout(value); }
BE_Connected.webservice.PlaySession.get_timeout = function() { return BE_Connected.webservice.PlaySession._staticInstance.get_timeout(); }
BE_Connected.webservice.PlaySession.set_defaultUserContext = function(value) { BE_Connected.webservice.PlaySession._staticInstance.set_defaultUserContext(value); }
BE_Connected.webservice.PlaySession.get_defaultUserContext = function() { return BE_Connected.webservice.PlaySession._staticInstance.get_defaultUserContext(); }
BE_Connected.webservice.PlaySession.set_defaultSucceededCallback = function(value) { BE_Connected.webservice.PlaySession._staticInstance.set_defaultSucceededCallback(value); }
BE_Connected.webservice.PlaySession.get_defaultSucceededCallback = function() { return BE_Connected.webservice.PlaySession._staticInstance.get_defaultSucceededCallback(); }
BE_Connected.webservice.PlaySession.set_defaultFailedCallback = function(value) { BE_Connected.webservice.PlaySession._staticInstance.set_defaultFailedCallback(value); }
BE_Connected.webservice.PlaySession.get_defaultFailedCallback = function() { return BE_Connected.webservice.PlaySession._staticInstance.get_defaultFailedCallback(); }
BE_Connected.webservice.PlaySession.set_enableJsonp = function(value) { BE_Connected.webservice.PlaySession._staticInstance.set_enableJsonp(value); }
BE_Connected.webservice.PlaySession.get_enableJsonp = function() { return BE_Connected.webservice.PlaySession._staticInstance.get_enableJsonp(); }
BE_Connected.webservice.PlaySession.set_jsonpCallbackParameter = function(value) { BE_Connected.webservice.PlaySession._staticInstance.set_jsonpCallbackParameter(value); }
BE_Connected.webservice.PlaySession.get_jsonpCallbackParameter = function() { return BE_Connected.webservice.PlaySession._staticInstance.get_jsonpCallbackParameter(); }
BE_Connected.webservice.PlaySession.set_path("/webservice/PlaySession.asmx");
BE_Connected.webservice.PlaySession.HelloWorld= function(onSuccess,onFailed,userContext) {BE_Connected.webservice.PlaySession._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
BE_Connected.webservice.PlaySession.GetFilePathBySessionID= function(p_Session_ID,onSuccess,onFailed,userContext) {BE_Connected.webservice.PlaySession._staticInstance.GetFilePathBySessionID(p_Session_ID,onSuccess,onFailed,userContext); }
BE_Connected.webservice.PlaySession.GetPlayRecordByUserIDAndSessionID= function(p_BeUser_ID,p_Session_ID,onSuccess,onFailed,userContext) {BE_Connected.webservice.PlaySession._staticInstance.GetPlayRecordByUserIDAndSessionID(p_BeUser_ID,p_Session_ID,onSuccess,onFailed,userContext); }
BE_Connected.webservice.PlaySession.InsertUser_Session_Progress= function(p_BeUser_ID,p_Session_ID,p_Status_ID,p_CurrentPosition,p_CurrentPositionTimecode,p_CurrentPositionString,onSuccess,onFailed,userContext) {BE_Connected.webservice.PlaySession._staticInstance.InsertUser_Session_Progress(p_BeUser_ID,p_Session_ID,p_Status_ID,p_CurrentPosition,p_CurrentPositionTimecode,p_CurrentPositionString,onSuccess,onFailed,userContext); }
BE_Connected.webservice.PlaySession.UpdateUser_Session_Progress= function(p_BeUser_ID,p_Session_ID,p_Status_ID,p_CurrentPosition,p_CurrentPositionTimecode,p_CurrentPositionString,p_WatchedPeriod,onSuccess,onFailed,userContext) {BE_Connected.webservice.PlaySession._staticInstance.UpdateUser_Session_Progress(p_BeUser_ID,p_Session_ID,p_Status_ID,p_CurrentPosition,p_CurrentPositionTimecode,p_CurrentPositionString,p_WatchedPeriod,onSuccess,onFailed,userContext); }
BE_Connected.webservice.PlaySession.PlayVideo= function(p_UserID,p_SessionID,onSuccess,onFailed,userContext) {BE_Connected.webservice.PlaySession._staticInstance.PlayVideo(p_UserID,p_SessionID,onSuccess,onFailed,userContext); }

