Device.State Class Reference

Overview

  • Package: com.twilio.client
  • Subclass of: Enum

The Device.State enum represents the various states of the device's ability to listen for incoming connections and make outgoing connections.

Tasks

Name Description Type
OFFLINE The device is not connected and cannot receive incoming connections or make outgoing connections. Field
READY The device can receive incoming connections and attempt outgoing connections if capabilities allow. Field
BUSY The device is connected to the network and has an active connection. No additional connections can be created or accepted. Field

Fields

OFFLINE

The device is not connected and cannot receive incoming connections or make outgoing connections.

READY

The device can receive incoming connections and attempt outgoing connections if capabilities allow.

BUSY

The device is connected to the network and has an active connection. No additional connections can be created or accepted.

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.