/*!
  *  @brief Set up the Appsfire SDK with your API key.
  *
  *  @param key Your API key can be found on http://dashboard.appsfire.com/app/manage
  *
  *  @return `YES` if no error was detected, `NO` if a problem occured (likely due to the key).
  */
 public static bool ConnectWithAPIKey(string apikey, AFSDKFeature features)
 {
     if (Application.platform == RuntimePlatform.Android)
     {
         return(AFAdSDK_setAPIKey(apikey));
     }
     return(false);
 }
示例#2
0
 /*!
  *  @brief Set up the Appsfire SDK with your API key.
  *
  *  @param key Your API key can be found on http://dashboard.appsfire.com/app/manage
  *
  *  @return `YES` if no error was detected, `NO` if a problem occured (likely due to the key).
  */
 public static bool ConnectWithSDKTokenAndSecretKey(string sdktoken, string secretkey, AFSDKFeature features)
 {
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         return(afsdk_connectWithAPIKey(sdktoken, secretkey, features));
     }
     return(false);
 }
示例#3
0
 private static extern bool afsdk_connectWithAPIKey(string sdktoken, string secretkey, AFSDKFeature features);