public class WZState extends Object
WZState
class provides identifiers that reflect the state of
various components and operations within the SDK.
state
property of the WZStatus
class is used primarily to inquire status and state
information when using the SDK APIs.
WZStatus
,
WZStatusCallback
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETE |
static int |
ERROR |
static int |
IDLE |
static int |
MAX_STATE |
static int |
MIN_STATE |
static int |
PAUSED |
static int |
PREBUFFERING_ENDED |
static int |
PREBUFFERING_STARTED |
static int |
READY |
static int |
RUNNING |
static int |
SHUTDOWN |
static int |
STARTING |
static int |
STOPPED |
static int |
STOPPING |
static int |
UNKNOWN |
Constructor and Description |
---|
WZState() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isValidState(int state) |
static String |
toLabel(int state)
Return a string representing the specified state
|
public static final int IDLE
public static final int STARTING
public static final int READY
public static final int RUNNING
public static final int STOPPING
public static final int PAUSED
public static final int STOPPED
public static final int COMPLETE
public static final int SHUTDOWN
public static final int ERROR
public static final int UNKNOWN
public static final int PREBUFFERING_STARTED
public static final int PREBUFFERING_ENDED
public static final int MIN_STATE
public static final int MAX_STATE
public static String toLabel(int state)
state
- One of the WZState identifierspublic static boolean isValidState(int state)
© 2016 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal