// Sets the login behavior for the session. Call this before logging a user in.
		public static void setSessionLoginBehavior( FacebookSessionLoginBehavior loginBehavior )
		{
			if( Application.platform != RuntimePlatform.Android )
				return;

			_facebookPlugin.Call( "setSessionLoginBehavior", loginBehavior.ToString() );
		}
Exemple #2
0
 // Sets the login behavior. Must be called before any login calls! Understand what the login behaviors are and how they work before using this!
 public static void setSessionLoginBehavior(FacebookSessionLoginBehavior loginBehavior)
 {
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         _facebookSetSessionLoginBehavior((int)loginBehavior);
     }
 }
Exemple #3
0
        // Sets the login behavior for the session. Call this before logging a user in.
        public static void setSessionLoginBehavior(FacebookSessionLoginBehavior loginBehavior)
        {
            if (Application.platform != RuntimePlatform.Android)
            {
                return;
            }

            _facebookPlugin.Call("setSessionLoginBehavior", loginBehavior.ToString());
        }
 // Sets the login behavior. Must be called before any login calls! Understand what the login behaviors are and how they work before using this!
 public static void setSessionLoginBehavior( FacebookSessionLoginBehavior loginBehavior )
 {
     if( Application.platform == RuntimePlatform.IPhonePlayer )
         _facebookSetSessionLoginBehavior( (int)loginBehavior );
 }
Exemple #5
0
 // Sets the login behavior. Must be called before any login calls! Understand what the login behaviors are and how they work before using this!
 public void GetUsername(FacebookSessionLoginBehavior loginBehavior)
 {
     FacebookBinding.setSessionLoginBehavior(loginBehavior);
 }