public override void RequestEmailAccess(TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); // Native method is called Plugin.Call(Native.Methods.REQUEST_EMAIL_ACCESS); }
public override void RequestEmailAccess(TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); // Associated error event is raised RequestEmailAccessFailed(Constants.kFeatureNotSupported); }
public override void RequestEmailAccess(TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); // Native method is called twitterRequestEmailAccess(); }
public override void RequestEmailAccess(TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); // Associated error event is raised RequestEmailAccessFailed(Constants.kErrorMessage); }
/// <summary> /// Requests access to the email address associated with current Twitter user. /// </summary> /// <param name="_onCompletion">Callback that will be called after operation is completed.</param> /// <example> /// The following code snippet shows how to fetch email address of current user. /// <code> /// using UnityEngine; /// using System.Collections; /// using VoxelBusters.NativePlugins; /// /// public class ExampleClass : MonoBehaviour /// { /// public void FetchEmailAddress () /// { /// NPBinding.Twitter.RequestEmailAccess(OnRequestFinished); /// } /// /// private void OnRequestFinished (string _email, string _error) /// { /// if (_error == null) /// { /// Debug.Log("Email id: " + _email); /// } /// else /// { /// // Something went wrong /// } /// } /// } /// </code> /// </example> public virtual void RequestEmailAccess(TWTREmailAccessCompletion _onCompletion) { // Pause unity player this.PauseUnity(); // Cache callback OnRequestEmailAccessFinished = _onCompletion; }
public override void RequestEmailAccess(TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); cpnpTwitterRequestEmailWithUserID(m_activeSessionUserID); }
public override void RequestEmailAccess (TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); // Native method is called Plugin.Call(Native.Methods.REQUEST_EMAIL_ACCESS); }
public override void RequestEmailAccess(TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); RequestEmailAccessFailed(Constants.kNotSupportedInEditor); }
public override void RequestEmailAccess (TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); // Native method is called twitterRequestEmailAccess(); }
/// <summary> /// Requests user to provide access to his email address. /// </summary> /// <param name="_onCompletion">Calls the delegate when user either accepts or denies access to their email address.</param> public virtual void RequestEmailAccess (TWTREmailAccessCompletion _onCompletion) { // Pause unity player this.PauseUnity(); // Cache callback OnRequestEmailAccessFinished = _onCompletion; }
public override void RequestEmailAccess (TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); // Associated error event is raised RequestEmailAccessFailed(Constants.kErrorMessage); }
public override void RequestEmailAccess (TWTREmailAccessCompletion _onCompletion) { base.RequestEmailAccess(_onCompletion); // Associated error event is raised RequestEmailAccessFailed(Constants.kFeatureNotSupported); }