Twilio.InitListener Interface Reference

Overview

  • Package: com.twilio.client

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

Tasks

NameDescriptionType
onInitializedCalled when the Twilio Client SDK has been successfully initialized.Instance method
onErrorCalled 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
NameDescription
errorAn exception describing the error that occurred
Return Value

None