-
public class BleConnectParams.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
autoConnect
private int
connectRetry
private int
serviceDiscoverRetry
private int
connectTimeout
private int
serviceDiscoverTimeout
-
Method Summary
Modifier and Type Method Description BleConnectParams.Builder
setAutoConnect(boolean autoConnect)
BleConnectParams.Builder
setConnectRetry(int retry)
BleConnectParams.Builder
setServiceDiscoverRetry(int retry)
BleConnectParams.Builder
setConnectTimeout(int timeout)
BleConnectParams.Builder
setServiceDiscoverTimeout(int timeout)
BleConnectParams.Builder
setConnectTimeoutTimes(int index, int timeout)
BleConnectParams
build()
-
-
Method Detail
-
setAutoConnect
BleConnectParams.Builder setAutoConnect(boolean autoConnect)
-
setConnectRetry
BleConnectParams.Builder setConnectRetry(int retry)
-
setServiceDiscoverRetry
BleConnectParams.Builder setServiceDiscoverRetry(int retry)
-
setConnectTimeout
BleConnectParams.Builder setConnectTimeout(int timeout)
-
setServiceDiscoverTimeout
BleConnectParams.Builder setServiceDiscoverTimeout(int timeout)
-
setConnectTimeoutTimes
BleConnectParams.Builder setConnectTimeoutTimes(int index, int timeout)
-
build
BleConnectParams build()
-
-
-
-