Esempio n. 1
0
        protected override void SendURLRequest(string _methodType, string _URL, IDictionary _parameters, TWTRResponse _onCompletion)
        {
            base.SendURLRequest(_methodType, _URL, _parameters, _onCompletion);

            cpnpTwitterSendURLRequest(m_activeSessionUserID, _methodType, _URL, _parameters.ToJSON());
        }
Esempio n. 2
0
        protected override void SendURLRequest(string _methodType, string _URL, IDictionary _parameters, TWTRResponse _onCompletion)
        {
            base.SendURLRequest(_methodType, _URL, _parameters, _onCompletion);

            // Native method is called
            Plugin.Call(Native.Methods.URL_REQUEST, _methodType, _URL, _parameters.ToJSON());
        }
Esempio n. 3
0
        protected override void SendURLRequest(string _methodType, string _URL, IDictionary _parameters, TWTRResponse _onCompletion)
        {
            base.SendURLRequest(_methodType, _URL, _parameters, _onCompletion);

            TwitterURLRequestFailed(Constants.kNotSupportedInEditor);
        }
Esempio n. 4
0
 public void DeleteURLRequest(string _URL, IDictionary _parameters, TWTRResponse _onCompletion)
 {
     SendDeleteURLRequest(_URL, _parameters, _onCompletion);
 }
Esempio n. 5
0
 protected virtual void SendURLRequest(string _methodType, string _URL, IDictionary _parameters, TWTRResponse _onCompletion)
 {
     // Cache callback
     OnTwitterURLRequestFinished = _onCompletion;
 }
Esempio n. 6
0
 /// <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 SendPutURLRequest(string _URL, IDictionary _parameters, TWTRResponse _onCompletion)
 {
     SendURLRequest("PUT", _URL, _parameters, _onCompletion);
 }