Sony Mobile has opened up its API for the illumination bar found in a number of Xperia devices including the recently launched Xperia SP. The “experimental API” as Sony calls it, will allow developers the chance to utilise the bar’s functionality in apps and/or custom ROMs. However, Sony is providing no support for the API and it will only come with limited documentation.
Sony plans to introduce other “experimental API’s” if there is enough demand from the community. API’s under this badge will not come with full documentation or support but will be targeted to those niche developers who like to experiment with some of Sony’s features.
The API will give developers control of the LED illumination bar to change the colour, the frequency of pulses as well as various pre-defined fading patterns. It can also be used to illuminate to a beat in the Xperia SP’s music player. See a full list of supported phones below.
The following phones are fully supported by the Illumination bar API:
The following phones are also supported by the Illumination bar API, but the support for the pre-defined fading patterns is less extensive on these devices:
Xperia S (only white colour supported)
Xperia P (only white colour supported)
Xperia acro HD
Xperia M dual