RetroArch
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
com.retroarch.browser.retroactivity.RetroActivityCommon Class Reference
Inheritance diagram for com.retroarch.browser.retroactivity.RetroActivityCommon:
[legend]
Collaboration diagram for com.retroarch.browser.retroactivity.RetroActivityCommon:
[legend]

Public Member Functions

void onRetroArchExit ()
 
void setSustainedPerformanceMode (boolean on)
 
boolean isSustainedPerformanceModeSupported ()
 
int getBatteryLevel ()
 
int getPowerstate ()
 
boolean isAndroidTV ()
 
- Public Member Functions inherited from com.retroarch.browser.retroactivity.RetroActivityLocation
void onConnected (Bundle dataBundle)
 
void onDisconnected ()
 
void onConnectionFailed (ConnectionResult connectionResult)
 
void onLocationSetInterval (int update_interval_in_ms, int distance_interval)
 
void onLocationInit ()
 
void onLocationStart ()
 
void onLocationFree ()
 
void onLocationStop ()
 
double onLocationGetLatitude ()
 
double onLocationGetLongitude ()
 
double onLocationGetHorizontalAccuracy ()
 
boolean onLocationHasChanged ()
 
void onLocationChanged (Location location)
 
void onPause ()
 
void onResume ()
 
void onStop ()
 

Public Attributes

boolean sustainedPerformanceMode = true
 

Static Public Attributes

static int FRONTEND_POWERSTATE_NONE = 0
 
static int FRONTEND_POWERSTATE_NO_SOURCE = 1
 
static int FRONTEND_POWERSTATE_CHARGING = 2
 
static int FRONTEND_POWERSTATE_CHARGED = 3
 
static int FRONTEND_POWERSTATE_ON_POWER_SOURCE = 4
 

Additional Inherited Members

- Package Attributes inherited from com.retroarch.browser.retroactivity.RetroActivityLocation
LocationRequest mLocationRequest = null
 
boolean mUpdatesRequested = false
 
boolean locationChanged = false
 
boolean location_service_running = false
 

Detailed Description

Class which provides common methods for RetroActivity related classes.

Member Function Documentation

◆ getBatteryLevel()

int com.retroarch.browser.retroactivity.RetroActivityCommon.getBatteryLevel ( )
inline

◆ getPowerstate()

int com.retroarch.browser.retroactivity.RetroActivityCommon.getPowerstate ( )
inline

◆ isAndroidTV()

boolean com.retroarch.browser.retroactivity.RetroActivityCommon.isAndroidTV ( )
inline

◆ isSustainedPerformanceModeSupported()

boolean com.retroarch.browser.retroactivity.RetroActivityCommon.isSustainedPerformanceModeSupported ( )
inline
Here is the caller graph for this function:

◆ onRetroArchExit()

void com.retroarch.browser.retroactivity.RetroActivityCommon.onRetroArchExit ( )
inline

◆ setSustainedPerformanceMode()

void com.retroarch.browser.retroactivity.RetroActivityCommon.setSustainedPerformanceMode ( boolean  on)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ FRONTEND_POWERSTATE_CHARGED

int com.retroarch.browser.retroactivity.RetroActivityCommon.FRONTEND_POWERSTATE_CHARGED = 3
static

◆ FRONTEND_POWERSTATE_CHARGING

int com.retroarch.browser.retroactivity.RetroActivityCommon.FRONTEND_POWERSTATE_CHARGING = 2
static

◆ FRONTEND_POWERSTATE_NO_SOURCE

int com.retroarch.browser.retroactivity.RetroActivityCommon.FRONTEND_POWERSTATE_NO_SOURCE = 1
static

◆ FRONTEND_POWERSTATE_NONE

int com.retroarch.browser.retroactivity.RetroActivityCommon.FRONTEND_POWERSTATE_NONE = 0
static

◆ FRONTEND_POWERSTATE_ON_POWER_SOURCE

int com.retroarch.browser.retroactivity.RetroActivityCommon.FRONTEND_POWERSTATE_ON_POWER_SOURCE = 4
static

◆ sustainedPerformanceMode

boolean com.retroarch.browser.retroactivity.RetroActivityCommon.sustainedPerformanceMode = true

The documentation for this class was generated from the following file: