Summary: Constants | Inherited Methods | [Expand All]
public final class

# CastState

extends Object

java.lang.Object
↳ | com.google.android.gms.cast.framework.CastState

## Class Overview

The possible casting states.

## Summary

Constants
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.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Constants

#### public static final int CONNECTED

A Cast session is established.

Constant Value: 4 (0x00000004)

#### public static final int CONNECTING

A Cast session is being established.

Constant Value: 3 (0x00000003)

#### public static final int NOT_CONNECTED

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

Constant Value: 2 (0x00000002)

#### public static final int NO_DEVICES_AVAILABLE

No Cast devices are available.

Constant Value: 1 (0x00000001)