Among other brands, many newer Samsung phones are capable of transmitting power wirelessly, by means of Wireless Power Transfer (WPT), which is branded “PowerShare” for the aforementioned brand. This functionality can be toggled, after swiping down for “Quick Settings” icons, and just like you turn WiFi or FlashLight on/off, you can turn WTP/PowerShare on/off with the corresponding icon. Once it is on, the phone activates a resonant coil that will charge other devices in its proximity.
Which method of the Android API (or what other library, method, approach, etc.) do I need to apply to toggle this wireless power programmatically, from my app?