public void setStorage(Api.ConsentManager.Storage iabStorage) { switch (iabStorage) { case Api.ConsentManager.Storage.NONE: getInstance().Call("setStorage", new AndroidJavaClass("com.explorestack.consent.ConsentManager$Storage") .GetStatic <AndroidJavaObject>( "NONE")); break; case Api.ConsentManager.Storage.SHARED_PREFERENCE: getInstance().Call("setStorage", new AndroidJavaClass("com.explorestack.consent.ConsentManager$Storage") .GetStatic <AndroidJavaObject>( "SHARED_PREFERENCE")); break; default: throw new ArgumentOutOfRangeException(nameof(iabStorage), iabStorage, null); } }
public void setStorage(Api.ConsentManager.Storage iabStorage) { consentManagerObjCBridge.setStorage(iabStorage.ToString()); }
public void setStorage(Api.ConsentManager.Storage iabStorage) { Debug.Log(DummyMessage); }