Get Started

Twilio.InitListener Interface Reference

Overview

  • Package: com.twilio.client

Interface for the listener object to pass to Twilio.initialize().

Tasks

Name Description Type
onInitialized Called when the Twilio Client SDK has been successfully initialized. Instance method
onError Called if there is an error initializing the Twilio Client SDK. Instance method

Methods

void onInitialized()

Called when the Twilio Client SDK has been successfully initialized.

Return Value

None

void onError(Exception error)

Called if there is an error initializing the Twilio Client SDK.

Parameters
Name Description
error An exception describing the error that occurred
Return Value

None