Package com.android.identity
Class DataTransportOptions
- java.lang.Object
-
- com.android.identity.DataTransportOptions
-
public class DataTransportOptions extends java.lang.Object
A set of options used when creating aDataTransport
derived instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataTransportOptions.Builder
A builder forDataTransportOptions
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBleClearCache()
Returns the preference to clear the BLE Service Cache before service discovery when acting as a GATT Client.boolean
getBleUseL2CAP()
Returns the preference for use BLE L2CAP transmission profile.
-
-
-
Method Detail
-
getBleUseL2CAP
public boolean getBleUseL2CAP()
Returns the preference for use BLE L2CAP transmission profile.If true, L2CAP will be used if supported by the OS and remote mdoc.
- Returns:
- indicates if L2CAP should be used, if available.
-
getBleClearCache
public boolean getBleClearCache()
Returns the preference to clear the BLE Service Cache before service discovery when acting as a GATT Client.- Returns:
- indicates if the BLE Service Cache should be cleared.
-
-