enableLocation

fun enableLocation(enabled: Boolean): Int

Turn the location feature on or off on your device

Return

Const.EXECUTE_COMPLETE - function completed

Parameters

enabled

Turn on / Turn off