-
- All Implemented Interfaces:
public class ApplicationAccess
-
-
Field Summary
Fields Modifier and Type Field Description private final Observable<Boolean>foregroundprivate final ValueSubject<Boolean>softInputActivepublic final static ApplicationAccessINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitapplicationIsActiveStartup(Application application)Sets up the application to report visibility events to applicationIsActiveEvent final Observable<Boolean>getForeground()Whether the application is in the foreground. final ValueSubject<Boolean>getSoftInputActive()Whether the soft input (a.k.a. -
-
Method Detail
-
applicationIsActiveStartup
final Unit applicationIsActiveStartup(Application application)
Sets up the application to report visibility events to applicationIsActiveEvent
-
getForeground
final Observable<Boolean> getForeground()
Whether the application is in the foreground.
-
getSoftInputActive
final ValueSubject<Boolean> getSoftInputActive()
Whether the soft input (a.k.a. software keyboard) is up
-
-
-
-