38 lines
1.4 KiB
Java
38 lines
1.4 KiB
Java
package com.google.android.gms.auth.api.phone;
|
|
|
|
import android.app.Activity;
|
|
import android.content.Context;
|
|
import com.google.android.gms.common.api.Api;
|
|
import com.google.android.gms.common.api.GoogleApi;
|
|
import com.google.android.gms.internal.p001authapiphone.zzv;
|
|
import com.google.android.gms.tasks.Task;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class SmsRetrieverClient extends GoogleApi<Api.ApiOptions.NoOptions> implements SmsRetrieverApi {
|
|
private static final Api.ClientKey<zzv> zza;
|
|
private static final Api.AbstractClientBuilder<zzv, Api.ApiOptions.NoOptions> zzb;
|
|
private static final Api<Api.ApiOptions.NoOptions> zzc;
|
|
|
|
public SmsRetrieverClient(Context context) {
|
|
super(context, zzc, (Api.ApiOptions) null, GoogleApi.Settings.DEFAULT_SETTINGS);
|
|
}
|
|
|
|
@Override // com.google.android.gms.auth.api.phone.SmsRetrieverApi
|
|
public abstract Task<Void> startSmsRetriever();
|
|
|
|
@Override // com.google.android.gms.auth.api.phone.SmsRetrieverApi
|
|
public abstract Task<Void> startSmsUserConsent(String str);
|
|
|
|
public SmsRetrieverClient(Activity activity) {
|
|
super(activity, (Api<Api.ApiOptions>) zzc, (Api.ApiOptions) null, GoogleApi.Settings.DEFAULT_SETTINGS);
|
|
}
|
|
|
|
static {
|
|
Api.ClientKey<zzv> clientKey = new Api.ClientKey<>();
|
|
zza = clientKey;
|
|
zza zzaVar = new zza();
|
|
zzb = zzaVar;
|
|
zzc = new Api<>("SmsRetriever.API", zzaVar, clientKey);
|
|
}
|
|
}
|