mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 19:07:17 +01:00
29 lines
870 B
Java
29 lines
870 B
Java
package amazon.speech.simclient.common;
|
|
|
|
import amazon.speech.simclient.common.BaseClient;
|
|
import android.content.Context;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes.dex */
|
|
public abstract class SimClientServiceHandle<T extends BaseClient> {
|
|
private final Class<T> mClientClass;
|
|
|
|
public SimClientServiceHandle(Class<T> cls) {
|
|
this.mClientClass = cls;
|
|
}
|
|
|
|
public abstract T createClient(Context context);
|
|
|
|
public boolean equals(Object obj) {
|
|
if (obj instanceof SimClientServiceHandle) {
|
|
return this.mClientClass.equals(((SimClientServiceHandle) obj).mClientClass);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.mClientClass.hashCode();
|
|
}
|
|
|
|
public abstract boolean serviceExists(Context context);
|
|
}
|