public override void RequestAccountDetails(TWTRAccountDetailsCompletion _onCompletion)
        {
            base.RequestAccountDetails(_onCompletion);

            // Native method is called
            Plugin.Call(Native.Methods.REQUEST_ACCOUNT_DETAILS);
        }
Beispiel #2
0
        public override void RequestAccountDetails(TWTRAccountDetailsCompletion _onCompletion)
        {
            base.RequestAccountDetails(_onCompletion);

            // Associated error event is raised
            RequestAccountDetailsFailed(Constants.kFeatureNotSupported);
        }
Beispiel #3
0
        public override void RequestAccountDetails(TWTRAccountDetailsCompletion _onCompletion)
        {
            base.RequestAccountDetails(_onCompletion);

            // Native method is called
            twitterRequestAccountDetails();
        }
Beispiel #4
0
        public override void RequestAccountDetails(TWTRAccountDetailsCompletion _onCompletion)
        {
            base.RequestAccountDetails(_onCompletion);

            // Associated error event is raised
            RequestAccountDetailsFailed(Constants.kErrorMessage);
        }
Beispiel #5
0
        public override void RequestAccountDetails(TWTRAccountDetailsCompletion _onCompletion)
        {
            base.RequestAccountDetails(_onCompletion);

            cpnpTwitterRequestAccountDetailsWithUserID(m_activeSessionUserID);
        }
		public override void RequestAccountDetails (TWTRAccountDetailsCompletion _onCompletion)
		{
			base.RequestAccountDetails(_onCompletion);

			// Native method is called
			Plugin.Call(Native.Methods.REQUEST_ACCOUNT_DETAILS);
		}
Beispiel #7
0
 /// <summary>
 /// Requests access to the current Twitter user account details.
 /// </summary>
 /// <param name="_onCompletion">Callback that will be called after operation is completed.</param>
 /// <example>
 /// The following code snippet shows how to fetch account details of current user.
 /// <code>
 /// using UnityEngine;
 /// using System.Collections;
 /// using VoxelBusters.NativePlugins;
 ///
 /// public class ExampleClass : MonoBehaviour
 /// {
 ///     public void FetchAccountDetails ()
 ///     {
 ///         NPBinding.Twitter.RequestAccountDetails(OnRequestFinished);
 ///     }
 ///
 ///     private void OnRequestFinished (TwitterUser _user, string _error)
 ///     {
 ///         if (_error == null)
 ///         {
 ///             Debug.Log("Logged in user name is: " + _user.Name);
 ///         }
 ///         else
 ///         {
 ///             // Something went wrong
 ///         }
 ///     }
 /// }
 /// </code>
 /// </example>
 public virtual void RequestAccountDetails(TWTRAccountDetailsCompletion _onCompletion)
 {
     // Cache callback
     OnRequestAccountDetailsFinished = _onCompletion;
 }
Beispiel #8
0
        public override void RequestAccountDetails(TWTRAccountDetailsCompletion _onCompletion)
        {
            base.RequestAccountDetails(_onCompletion);

            RequestAccountDetailsFailed(Constants.kNotSupportedInEditor);
        }
		public override void RequestAccountDetails (TWTRAccountDetailsCompletion _onCompletion)
		{
			base.RequestAccountDetails(_onCompletion);

			// Native method is called
			twitterRequestAccountDetails();
		}
		/// <summary>
		/// Sends request to load users account details.
		/// </summary>
		/// <param name="_onCompletion">Calls the delegate when load user details request succeeds or fails.</param>
		public virtual void RequestAccountDetails (TWTRAccountDetailsCompletion _onCompletion)
		{
			// Cache callback
			OnRequestAccountDetailsFinished	= _onCompletion;
		}
		public override void RequestAccountDetails (TWTRAccountDetailsCompletion _onCompletion)
		{			
			base.RequestAccountDetails(_onCompletion);

			// Associated error event is raised
			RequestAccountDetailsFailed(Constants.kErrorMessage);
		}
		public override void RequestAccountDetails (TWTRAccountDetailsCompletion _onCompletion)
		{			
			base.RequestAccountDetails(_onCompletion);

			// Associated error event is raised
			RequestAccountDetailsFailed(Constants.kFeatureNotSupported);
		}