BKFeatureValidator

open class BKFeatureValidator: NSObject

Helper class to validate application and mobile device features

  • Checks if the App is on foreground

    Declaration

    Swift

    open func isAppOnForeground() -> Bool

    Return Value

    true if App is on foreground

  • Checks if the device is connected to the internet.

    Declaration

    Swift

    open func isConnectedToInternet() -> Bool

    Return Value

    true if connected to the internet

  • Checks if Bluetooth is enabled on the device

    Declaration

    Swift

    open func bluetoothIsEnabled() -> Bool

    Return Value

    true if Bluetooth is enabled