Exemplo n.º 1
0
 public static async Task <ISafetyNetApiSafeBrowsingResult> LookupUriAsync(this ISafetyNetApi api, GoogleApiClient client, string uri, int[] threatTypes)
 {
     return((await api.LookupUri(client, uri, threatTypes)).JavaCast <ISafetyNetApiSafeBrowsingResult>());
 }
Exemplo n.º 2
0
 public static async Task <IResult> VerifyWithRecaptchaAsync(this ISafetyNetApi api, GoogleApiClient client, string recaptcha)
 {
     return((await api.VerifyWithRecaptcha(client, recaptcha)).JavaCast <IResult>());
 }
Exemplo n.º 3
0
 public static async Task <ISafetyNetApiAttestationResult> AttestAsync(this ISafetyNetApi api, GoogleApiClient googleApiClient, byte[] nonce)
 {
     return((await api.Attest(googleApiClient, nonce)).JavaCast <ISafetyNetApiAttestationResult>());
 }
Exemplo n.º 4
0
 public static async Task <ISafetyNetApiSafeBrowsingResult> LookupUriAsync(this ISafetyNetApi api, GoogleApiClient googleApiClient, IList <Java.Lang.Integer> threatTypes, string uri)
 {
     return((await api.LookupUri(googleApiClient, threatTypes, uri)).JavaCast <ISafetyNetApiSafeBrowsingResult>());
 }
 public static async Task <ISafetyNetApiHarmfulAppsResult> ListHarmfulAppsAsync(this ISafetyNetApi api, GoogleApiClient client)
 {
     return((await api.ListHarmfulApps(client)).JavaCast <ISafetyNetApiHarmfulAppsResult>());
 }
 public static async Task <ISafetyNetApiVerifyAppsUserResult> EnableVerifyAppsAsync(this ISafetyNetApi api, GoogleApiClient client)
 {
     return((await api.EnableVerifyApps(client)).JavaCast <ISafetyNetApiVerifyAppsUserResult>());
 }
 public static async Task <SafetyNetApiVerifyAppsUserResponse> ListHarmfulAppsAsync(this ISafetyNetApi api, GoogleApiClient client)
 {
     return((await api.ListHarmfulApps(client)).JavaCast <SafetyNetApiVerifyAppsUserResponse>());
 }
 public static async Task <SafetyNetApiVerifyAppsUserResponse> IsVerifyAppsEnabledAsync(this ISafetyNetApi api, GoogleApiClient client)
 {
     return((await api.IsVerifyAppsEnabled(client)).JavaCast <SafetyNetApiVerifyAppsUserResponse>());
 }
 public static async Task <SafetyNetApiSafeBrowsingResponse> LookupUriAsync(this ISafetyNetApi api, GoogleApiClient client, string str1, string str2, params int[] threatTypes)
 {
     return((await api.LookupUri(client, str1, str2, threatTypes)).JavaCast <SafetyNetApiSafeBrowsingResponse>());
 }