package com.google.android.gms.internal.location; import android.app.PendingIntent; import com.google.android.gms.common.api.GoogleApiClient; import com.google.android.gms.common.api.PendingResult; import com.google.android.gms.common.api.Status; import com.google.android.gms.location.Geofence; import com.google.android.gms.location.GeofencingApi; import com.google.android.gms.location.GeofencingRequest; import java.util.List; /* loaded from: classes2.dex */ public final class zzaf implements GeofencingApi { @Override // com.google.android.gms.location.GeofencingApi public final PendingResult addGeofences(GoogleApiClient googleApiClient, GeofencingRequest geofencingRequest, PendingIntent pendingIntent) { return googleApiClient.execute(new zzac(this, googleApiClient, geofencingRequest, pendingIntent)); } @Override // com.google.android.gms.location.GeofencingApi public final PendingResult removeGeofences(GoogleApiClient googleApiClient, PendingIntent pendingIntent) { return zza(googleApiClient, com.google.android.gms.location.zzbx.zzb(pendingIntent)); } public final PendingResult zza(GoogleApiClient googleApiClient, com.google.android.gms.location.zzbx zzbxVar) { return googleApiClient.execute(new zzad(this, googleApiClient, zzbxVar)); } @Override // com.google.android.gms.location.GeofencingApi @Deprecated public final PendingResult addGeofences(GoogleApiClient googleApiClient, List list, PendingIntent pendingIntent) { GeofencingRequest.Builder builder = new GeofencingRequest.Builder(); builder.addGeofences(list); builder.setInitialTrigger(5); return googleApiClient.execute(new zzac(this, googleApiClient, builder.build(), pendingIntent)); } @Override // com.google.android.gms.location.GeofencingApi public final PendingResult removeGeofences(GoogleApiClient googleApiClient, List list) { return zza(googleApiClient, com.google.android.gms.location.zzbx.zza(list)); } }