Get Started

PresenceEvent Class Reference

Overview

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

An object encapsulating client presence state for other clients connected to the Twilio Application.

Tasks

Name Description Type
getName The client name for which the event applies. Instance method
isAvailable Whether or not the client specified by name is currently connected to Twilio services for the account. Instance method

Methods

String getName()

The client name for which the event applies.

Return Value

A non-null string


boolean isAvailable()

Whether or not the client specified by name is currently connected to Twilio services for the account.

Return Value

true if the client is online, false if not