Sayaji Kadam
Dec 11, 2018
12:10 pm

Start bluetooth using RestrictionPolicy

Start bluetooth using RestrictionPolicy -

                edm = EnterpriseDeviceManager.getInstance(getApplicationContext());
                RestrictionPolicy rp = edm.getRestrictionPolicy();
                boolean resp = rp.allowBluetooth(true);

But bluetooth not enable.

Jenna S.Samsung SEAP Moderator
Selected Answer
Dec 12, 2018
6:45 pm

Hello Sayaji,

The API you are using only allows Bluetooth UI access. To turn Bluetooth on or off, use the setBluetoothState API.

Best regards,

Jenna

Sayaji Kadam
Jan 09, 2019
11:17 am
Sayaji Kadam
Jan 28, 2019
10:11 am

Hi,

You provided code is a part of KPE premium(Paid).

Please provide me any other api if available for on/off bluetooth status which is belong with KPE Standard.

Thanks