Google is committed to advancing racial equity for Black communities. See how.

CastState

public final class CastState extends Object

The possible casting states.

Constant Summary

int CONNECTED A Cast session is established.
int CONNECTING A Cast session is being established.
int NOT_CONNECTED Cast devices are available, but a Cast session is not established.
int NO_DEVICES_AVAILABLE No Cast devices are available.

Public Method Summary

static String
toString(int castState)

Inherited Method Summary

Constants

public static final int CONNECTED

A Cast session is established.

Constant Value: 4

public static final int CONNECTING

A Cast session is being established.

Constant Value: 3

public static final int NOT_CONNECTED

Cast devices are available, but a Cast session is not established.

Constant Value: 2

public static final int NO_DEVICES_AVAILABLE

No Cast devices are available.

Constant Value: 1

Public Methods

public static String toString (int castState)