26 lines
900 B
Java
26 lines
900 B
Java
package com.google.android.gms.internal.firebase_ml;
|
|
|
|
import android.content.Context;
|
|
import com.google.android.gms.common.internal.ImagesContract;
|
|
import com.google.firebase.ml.common.FirebaseMLException;
|
|
import com.google.firebase.ml.common.modeldownload.FirebaseLocalModel;
|
|
import java.nio.MappedByteBuffer;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzpb implements zzow {
|
|
private final Context zzasx;
|
|
|
|
public zzpb(Context context) {
|
|
this.zzasx = context;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.firebase_ml.zzow
|
|
public final void zzlu() throws FirebaseMLException {
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.firebase_ml.zzow
|
|
public final MappedByteBuffer zzca(String str) throws FirebaseMLException {
|
|
return new zzog(this.zzasx, new FirebaseLocalModel.Builder(ImagesContract.LOCAL).setFilePath(str).build()).load();
|
|
}
|
|
}
|