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.

Similar topics

No similar topics found.
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