mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Add Android support to hasBackgroundMusic
This commit is contained in:
@@ -106,6 +106,14 @@ public:
|
||||
*/
|
||||
virtual void vibrate(double seconds) const;
|
||||
|
||||
/**
|
||||
* Gets if the user is playing music on background.
|
||||
* Throws an exception on unsupported platforms.
|
||||
*
|
||||
* @return Whether a music is playing on background.
|
||||
**/
|
||||
bool hasBackgroundMusic() const;
|
||||
|
||||
static bool getConstant(const char *in, PowerState &out);
|
||||
static bool getConstant(PowerState in, const char *&out);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user