Ejemplo n.º 1
0
 internal void OnApiError(string result)
 {
     LineAPI._OnApiError(result);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Logs out the current user by revoking the access token.
 /// </summary>
 /// <param name="action">
 /// The callback action to be invoked when the logout process finishes.
 /// </param>
 public void Logout(Action <Result <Unit> > action)
 {
     LineAPI.Logout(action);
 }
Ejemplo n.º 3
0
 internal void OnApiOk(string result)
 {
     LineAPI._OnApiOk(result);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Logs in to the LINE Platform with the specified scopes and an option.
 /// </summary>
 /// <param name="scopes">
 /// The set of permissions requested by your app. If `null` or empty,
 /// the "profile" scope is used.
 /// </param>
 /// <param name="option">
 /// The options used during the login process.
 /// </param>
 /// <param name="action">
 /// The callback action to be invoked when the login process finishes.
 /// </param>
 public void Login(string[] scopes, LoginOption option, Action <Result <LoginResult> > action)
 {
     LineAPI.Login(scopes, option, action);
 }