Since: API level 6
public class

BluetoothSecureModeConfig

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.bluetooth.BluetoothSecureModeConfig

Class Overview

This class describes each of the Bluetooth profiles which can be enabled or disabled in Bluetooth Secure Mode.
Each setting or profile is a boolean value which can be set by admin.
true if setting is to be enabled
false if setting is not to be enabled in secure mode.

Since
API level 6
MDM 4.0

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public boolean a2dpEnable Used to control A2DP (Advanced Audio Distribution Profile).
public boolean ftpEnable Used to control (FTP) File Transfer Protocol.
public boolean hdpEnable Deprecated in API level 33
NOTE: This is not available since Android 11.
public boolean hfpEnable Used to control HFP (Hands-Free Profile).
public boolean hidEnable Used to control HID (Human Interface Device).
public boolean mapEnable Used to control MAP (Message Access Profile).
public boolean oppEnable Used to control OPP (Object Push Profile).
public boolean pairingMode Used to limit pairing mode.
public boolean panEnable Used to control PAN (Personal Area Networking).
public boolean pbapEnable Used to control PBAP (Phonebook Access Profile).
public boolean sapEnable Used to control SAP (SIM Access Profile).
public boolean scanMode Used to limit scan-mode.
public boolean whitelistEnable Used to enable/disable whitelist in Bluetooth secure mode.
Public Constructors
BluetoothSecureModeConfig()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public boolean a2dpEnable

Since: API level 6

Used to control A2DP (Advanced Audio Distribution Profile).
Profile for high-quality audio (stereo or mono) to be streamed from one device to another over a Bluetooth connection. For example, music can be streamed from a mobile phone, to a wireless headset, hearing aid and cochlear implant streamer, or car audio.

If set to true, A2DP profile will be enabled.
If set to false, A2DP profile will be disabled.

Since
API level 6
MDM 4.0

public boolean ftpEnable

Since: API level 6

Used to control (FTP) File Transfer Protocol.
Profile for browsing, manipulating and transferring objects from one file system to another.

If set to true, FTP profile will be enabled.
If set to false, FTP profile will be disabled.

Since
API level 6
MDM 4.0

public boolean hdpEnable

Since: API level 6

Deprecated in API level 33
NOTE: This is not available since Android 11.

Used to control HDP (Health Device Profile).
Profile designed to facilitate transmission and reception of Medical Device data.

If set to true, HDP profile will be enabled.
If set to false, HDP profile will be disabled.

Since
API level 6
MDM 4.0

public boolean hfpEnable

Since: API level 6

Used to control HFP (Hands-Free Profile).
Profile with a hands-free device over a Bluetooth link, to allow the hands-free device to act as an audio input or output device for the mobile device.

If set to true, HFP profile will be enabled.
If set to false, HFP profile will be disabled.

Since
API level 6
MDM 4.0

public boolean hidEnable

Since: API level 6

Used to control HID (Human Interface Device).
Profile to support human interface devices such as a keyboard and a mouse.

If set to true, HID profile will be enabled.
If set to false, HID profile will be disabled.

Since
API level 6
MDM 4.0

public boolean mapEnable

Since: API level 6

Used to control MAP (Message Access Profile).
Profile allowing exchange of messages between devices. Mostly used for automotive hands-free use.

If set to true, MAP profile will be enabled.
If set to false, MAP profile will be disabled.

Since
API level 6
MDM 4.0

public boolean oppEnable

Since: API level 6

Used to control OPP (Object Push Profile).
Profile to support pushing or pulling small data objects (for example, calling card exchange) between Bluetooth devices.

If set to true, OPP profile will be enabled.
If set to false, OPP profile will be disabled.

Since
API level 6
MDM 4.0

public boolean pairingMode

Since: API level 6

Used to limit pairing mode.

If set to true, legacy pairing and Just works pairing will be disallowed.
If set to false, all pairing will be allowed.

Since
API level 6
MDM 4.0

public boolean panEnable

Since: API level 6

Used to control PAN (Personal Area Networking).
Profile for communicating with a Group Ad-hoc Network (GN), a Network Access Point (NAP), or with another Bluetooth device through a point-to-point connection.

If set to true, PAN profile will be enabled.
If set to false, PAN profile will be disabled.

Since
API level 6
MDM 4.0

public boolean pbapEnable

Since: API level 6

Used to control PBAP (Phonebook Access Profile).
Profile to allow exchange of phone book objects between devices. Designed for use between a car kit and a mobile phone.

If set to true, PBAP profile will be enabled.
If set to false, PBAP profile will be disabled.

Since
API level 6
MDM 4.0

public boolean sapEnable

Since: API level 6

Used to control SAP (SIM Access Profile).
Profile to allow devices such as car phones with built-in GSM transceivers to connect to a SIM card in phone through Bluetooth.

If set to true, SAP profile will be enabled.
If set to false, SAP profile will be disabled.

Since
API level 6
MDM 4.0

public boolean scanMode

Since: API level 6

Used to limit scan-mode.

If set to true all scans will be disallowed i.e device is not discoverable to other devices.
If set to false, all scans will be allowed i.e. device is discoverable to other devices.

Since
API level 6
MDM 4.0

public boolean whitelistEnable

Since: API level 6

Used to enable/disable whitelist in Bluetooth secure mode.
If enabled, it is checked whether device configuration is in whitelist If disabled, device whitelist is ignored.

If set to true, device whitelist for Bluetooth secure mode will be enabled.
If set to false, device whitelist for Bluetooth secure mode will be disabled.

Since
API level 6
MDM 4.0

Public Constructors

public BluetoothSecureModeConfig ()

Since: API level 6

Since
API level 6
MDM 4.0