Skip to main content

Class AppState

com.poly.polyos.app

Class AppState

  • java.lang.Object
    • com.poly.polyos.app.AppState

public class AppState
extends java.lang.Object

Represents the global state of the application.
All of the state fields must reflect the current state of the app.

When any of the states change, notify PolyOS using IPolyAppListener.onAppStateChanged(AppState) with the listener registered by PolyOS when it called IPolyAppCallBacks.registerAppStateListener(IPolyAppListener).

Since:
3.0.11

See Also:
IPolyAppCallBacks

Field Summary

Modifier and TypeField and Description
CallStatecallState
CallState of the app
booleancameraMuted
Whether user has muted the camera
booleanmicMuted
Whether user has muted the microphone

Constructor Summary

Constructor and Description

AppState()

Method Summary

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

callState

public CallState callState
CallState of the app

cameraMuted

public boolean cameraMuted
Whether user has muted the camera

micMuted

public boolean micMuted
Whether user has muted the microphone

Constructor Detail

AppState

public AppState()