Beispiel #1
0
 public static AppCenterTask <bool> IsEnabledAsync()
 {
     return(DistributeInternal.IsEnabledAsync());
 }
Beispiel #2
0
 public static AppCenterTask SetEnabledAsync(bool enabled)
 {
     return(DistributeInternal.SetEnabledAsync(enabled));
 }
Beispiel #3
0
 public static void AddNativeType(List <RawType> nativeTypes)
 {
     DistributeInternal.AddNativeType(nativeTypes);
 }
Beispiel #4
0
 public static void PrepareEventHandlers()
 {
     DistributeInternal.PrepareEventHandlers();
 }
Beispiel #5
0
 /// <summary>
 /// If update dialog is customized by returning <c>true</c> in <see cref="ReleaseAvailableCallback"/>,
 /// You need to tell the distribute SDK using this function what is the user action.
 /// </summary>
 /// <param name="updateAction">Update action. On mandatory update, you can only pass <see cref="UpdateAction.Update"/></param>
 public static void NotifyUpdateAction(UpdateAction updateAction)
 {
     DistributeInternal.NotifyUpdateAction((int)updateAction);
 }
Beispiel #6
0
 /// <summary>
 /// Change the base URL used to make API calls.
 /// </summary>
 /// <param name="apiUrl">API base URL.</param>
 public static void SetApiUrl(string apiUrl)
 {
     DistributeInternal.SetApiUrl(apiUrl);
 }
Beispiel #7
0
 /// <summary>
 /// Change the base URL opened in the browser to get update token from user login information.
 /// </summary>
 /// <param name="installUrl">Install base URL.</param>
 public static void SetInstallUrl(string installUrl)
 {
     DistributeInternal.SetInstallUrl(installUrl);
 }