Type.registerNamespace('MyPhoneServices');
MyPhoneServices.VideoLoadingService=function() {
MyPhoneServices.VideoLoadingService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MyPhoneServices.VideoLoadingService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MyPhoneServices.VideoLoadingService._staticInstance.get_path();},
GetAllVideoData:function(phoneID,succeededCallback, failedCallback, userContext) {
/// <param name="phoneID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetAllVideoData',false,{phoneID:phoneID},succeededCallback,failedCallback,userContext); }}
MyPhoneServices.VideoLoadingService.registerClass('MyPhoneServices.VideoLoadingService',Sys.Net.WebServiceProxy);
MyPhoneServices.VideoLoadingService._staticInstance = new MyPhoneServices.VideoLoadingService();
MyPhoneServices.VideoLoadingService.set_path = function(value) {
MyPhoneServices.VideoLoadingService._staticInstance.set_path(value); }
MyPhoneServices.VideoLoadingService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MyPhoneServices.VideoLoadingService._staticInstance.get_path();}
MyPhoneServices.VideoLoadingService.set_timeout = function(value) {
MyPhoneServices.VideoLoadingService._staticInstance.set_timeout(value); }
MyPhoneServices.VideoLoadingService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MyPhoneServices.VideoLoadingService._staticInstance.get_timeout(); }
MyPhoneServices.VideoLoadingService.set_defaultUserContext = function(value) { 
MyPhoneServices.VideoLoadingService._staticInstance.set_defaultUserContext(value); }
MyPhoneServices.VideoLoadingService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MyPhoneServices.VideoLoadingService._staticInstance.get_defaultUserContext(); }
MyPhoneServices.VideoLoadingService.set_defaultSucceededCallback = function(value) { 
 MyPhoneServices.VideoLoadingService._staticInstance.set_defaultSucceededCallback(value); }
MyPhoneServices.VideoLoadingService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MyPhoneServices.VideoLoadingService._staticInstance.get_defaultSucceededCallback(); }
MyPhoneServices.VideoLoadingService.set_defaultFailedCallback = function(value) { 
MyPhoneServices.VideoLoadingService._staticInstance.set_defaultFailedCallback(value); }
MyPhoneServices.VideoLoadingService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MyPhoneServices.VideoLoadingService._staticInstance.get_defaultFailedCallback(); }
MyPhoneServices.VideoLoadingService.set_path("/pages/assets/services/MyPhone/MyPhoneVideoService.asmx");
MyPhoneServices.VideoLoadingService.GetAllVideoData= function(phoneID,onSuccess,onFailed,userContext) {
/// <param name="phoneID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MyPhoneServices.VideoLoadingService._staticInstance.GetAllVideoData(phoneID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(MyPhoneServices.VideoDataResponse) === 'undefined') {
MyPhoneServices.VideoDataResponse=gtc("MyPhoneServices.VideoDataResponse");
MyPhoneServices.VideoDataResponse.registerClass('MyPhoneServices.VideoDataResponse');
}

