public AndroidFacebook(IAndroidWrapper androidWrapper, CallbackManager callbackManager) : base(callbackManager) { this.KeyHash = string.Empty; this.androidWrapper = androidWrapper; this.userID = this.androidWrapper.CallStatic <string>("GetUserID"); }
private static IAndroidWrapper GetAndroidWrapper() { Assembly assembly = Assembly.Load("Facebook.Unity.Android"); Type type = assembly.GetType("Facebook.Unity.Android.AndroidWrapper"); IAndroidWrapper javaClass = (IAndroidWrapper)Activator.CreateInstance(type); return(javaClass); }
public AndroidAnalytics(KongregateAPI api, IAndroidWrapper androidApi) : base(api) { this.androidApi = androidApi; if (!KongregateAPI.Settings.DeferAnalytics) { Start(); } }
public AndroidFacebook(IAndroidWrapper androidWrapper, CallbackManager callbackManager) : base(callbackManager) { this.KeyHash = string.Empty; this.androidWrapper = androidWrapper; }
public AndroidFacebook(IAndroidWrapper facebookJavaClass, CallbackManager callbackManager) : base(callbackManager) { this.KeyHash = string.Empty; this.facebookJava = facebookJavaClass; }