31 lines
933 B
Java
31 lines
933 B
Java
package com.afunx.ble.blelitelib.operation;
|
|
|
|
import android.bluetooth.BluetoothGatt;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class BleDiscoverServiceOperation extends BleOperationAbs {
|
|
private final BluetoothGatt mBluetoothGatt;
|
|
|
|
private BleDiscoverServiceOperation(BluetoothGatt bluetoothGatt) {
|
|
this.mBluetoothGatt = bluetoothGatt;
|
|
}
|
|
|
|
public static BleDiscoverServiceOperation createInstance(BluetoothGatt bluetoothGatt) {
|
|
return new BleDiscoverServiceOperation(bluetoothGatt);
|
|
}
|
|
|
|
@Override // com.afunx.ble.blelitelib.operation.BleOperationAbs
|
|
protected void clearConcurrentOperation() {
|
|
}
|
|
|
|
@Override // com.afunx.ble.blelitelib.operation.BleOperation
|
|
public int getOperatcionCode() {
|
|
return 3;
|
|
}
|
|
|
|
@Override // com.afunx.ble.blelitelib.operation.BleOperation, java.lang.Runnable
|
|
public void run() {
|
|
this.mBluetoothGatt.discoverServices();
|
|
}
|
|
}
|