Class MetaActivationManager

java.lang.Object
net_62v.external.MetaActivationManager

public final class MetaActivationManager extends Object
Activate the sdk by this class, you should activate the sdk before you using it.
Version:
1.0
Author:
[email protected]
  • Constructor Details

    • MetaActivationManager

      public MetaActivationManager()
  • Method Details

    • activateSdk

      public static void activateSdk(String activationCode) throws RemoteException
      If you don't wanna configure your application node, you can activate your app by this method.
      You can config your application node and add the meta data like

      <meta-data android:name="MUNDO_APP_KEY" android:value="my_sample_key" />

      Parameters:
      activationCode - your sdk activation code
      Throws:
      RemoteException
    • getActivationMessage

      public static String getActivationMessage() throws RemoteException
      Get activation message, you can check the sdk activation status by this method.
      Returns:
      activation status, you can check the status by log this message.
      Throws:
      RemoteException
    • getActivationStatus

      public static boolean getActivationStatus() throws RemoteException
      Get the activation status
      Returns:
      boolean value, true if activation success, false if not yet activated or activate failed.
      Throws:
      RemoteException
    • changeRemoteServerUrl

      public static void changeRemoteServerUrl(String newServerUrl) throws RemoteException
      Throws:
      RemoteException