Class DataTransportOptions


  • public class DataTransportOptions
    extends java.lang.Object
    A set of options used when creating a DataTransport derived instance.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.