public int getAdvertiseFlags() {
        return advertiseFlags;
    }
Returns the advertising flags indicating the discoverable mode and capability of the device.
Returns -1 if the flag field is not set.
rxandroidble/src/main/java/com/polidea/rxandroidble2/internal/scan/ScanRecordImplCompat.java