Package com.android.identity
Class DataTransportOptions
- java.lang.Object
-
- com.android.identity.DataTransportOptions
-
public class DataTransportOptions extends java.lang.ObjectA set of options used when creating aDataTransportderived instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataTransportOptions.BuilderA builder forDataTransportOptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBleClearCache()Returns the preference to clear the BLE Service Cache before service discovery when acting as a GATT Client.booleangetBleUseL2CAP()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.
-
-