protected override void URLRequest(string _methodType, string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { base.URLRequest(_methodType, _URL, _parameters, _onCompletion); // Native method is called Plugin.Call(Native.Methods.URL_REQUEST, _methodType, _URL, _parameters.ToJSON()); }
protected override void URLRequest (string _methodType, string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { base.URLRequest(_methodType, _URL, _parameters, _onCompletion); // Native method is called Plugin.Call(Native.Methods.URL_REQUEST, _methodType, _URL, _parameters.ToJSON()); }
protected override void URLRequest(string _methodType, string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { base.URLRequest(_methodType, _URL, _parameters, _onCompletion); // Native method is called twitterURLRequest(_methodType, _URL, _parameters.ToJSON()); }
protected virtual void URLRequest(string _methodType, string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { // Cache callback OnTwitterURLRequestFinished = _onCompletion; }
protected override void URLRequest(string _methodType, string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { base.URLRequest(_methodType, _URL, _parameters, _onCompletion); // Associated error event is raised TwitterURLRequestFailed(Constants.kFeatureNotSupported); }
/// <summary> /// Sends a signed Twitter Put request. /// </summary> /// <param name="_URL">Request URL. This is the full Twitter API URL. E.g. https://api.twitter.com/1.1/statuses/user_timeline.json.</param> /// <param name="_parameters">Request parameters.</param> /// <param name="_onCompletion">Callback that will be called after operation is completed.</param> public void PutURLRequest(string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { URLRequest("PUT", _URL, _parameters, _onCompletion); }
/// <summary> /// Sends a signed Twitter Delete request. /// </summary> /// <param name="_URL">Request URL. This is the full Twitter API URL. E.g. https://api.twitter.com/1.1/statuses/user_timeline.json.</param> /// <param name="_parameters">Request parameters.</param> /// <param name="_onCompletion">Callback that will be called after operation is completed.</param> public void DeleteURLRequest(string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { URLRequest("DELETE", _URL, _parameters, _onCompletion); }
protected override void URLRequest (string _methodType, string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { base.URLRequest(_methodType, _URL, _parameters, _onCompletion); // Native method is called twitterURLRequest(_methodType, _URL, _parameters.ToJSON()); }
protected virtual void URLRequest (string _methodType, string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { // Cache callback OnTwitterURLRequestFinished = _onCompletion; }
/// <summary> /// Sends a Twitter DELETE request. /// </summary> /// <param name="_URL">Request URL. This is the full Twitter API URL. E.g. https://api.twitter.com/1.1/statuses/user_timeline.json.</param> /// <param name="_parameters">Request parameters.</param> /// <param name="_onCompletion">Calls the delegate on response.</param> public void DeleteURLRequest (string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { URLRequest("DELETE", _URL, _parameters, _onCompletion); }
/// <summary> /// Sends a Twitter PUT request. /// </summary> /// <param name="_URL">Request URL. This is the full Twitter API URL. E.g. https://api.twitter.com/1.1/statuses/user_timeline.json.</param> /// <param name="_parameters">Request parameters.</param> /// <param name="_onCompletion">Calls the delegate on response.</param> public void PutURLRequest (string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { URLRequest("PUT", _URL, _parameters, _onCompletion); }
protected override void URLRequest (string _methodType, string _URL, IDictionary _parameters, TWTRResonse _onCompletion) { base.URLRequest(_methodType, _URL, _parameters, _onCompletion); // Associated error event is raised TwitterURLRequestFailed(Constants.kErrorMessage); }