what-the-bank/sources/com/google/android/gms/location/ActivityRecognition.java

37 lines
1.1 KiB
Java

package com.google.android.gms.location;
import android.app.Activity;
import android.content.Context;
import com.google.android.gms.common.api.Api;
/* loaded from: classes2.dex */
public class ActivityRecognition {
public static final Api<Api.ApiOptions.NoOptions> API;
@Deprecated
public static final ActivityRecognitionApi ActivityRecognitionApi;
public static final String CLIENT_NAME = "activity_recognition";
private static final Api.ClientKey zza;
private static final Api.AbstractClientBuilder zzb;
static {
Api.ClientKey clientKey = new Api.ClientKey();
zza = clientKey;
zza zzaVar = new zza();
zzb = zzaVar;
API = new Api<>("ActivityRecognition.API", zzaVar, clientKey);
ActivityRecognitionApi = new com.google.android.gms.internal.location.zzg();
}
public static ActivityRecognitionClient getClient(Activity activity) {
return new ActivityRecognitionClient(activity);
}
public static ActivityRecognitionClient getClient(Context context) {
return new ActivityRecognitionClient(context);
}
private ActivityRecognition() {
}
}