Skip to content

CallRequest

Lejla Solak edited this page Feb 10, 2025 · 6 revisions



getToken()

Description

Getter for the token field.

Arguments

  • none

Returns

  • String - The value of the token field, which represents the authentication token provided in the request.

Example

CallPhoneRequest callPhoneRequest = new CallPhoneRequest(obtainToken(), getApplicationContext(), "41793026727", this);
String token = callPhoneRequest.getToken();



getContext()

Description

Getter for the context field.

Arguments

  • none

Returns

  • Context - The value of the context field, which represents the Android context provided in the request.

Example

CallPhoneRequest callPhoneRequest = new CallPhoneRequest(obtainToken(), getApplicationContext(), "41793026727", this);
Context context = callPhoneRequest.getContext();



getDestination()

Description

Getter for the destination field.

Arguments

  • none

Returns

  • String - The value of the destination field, representing the remote endpoint's identity or phone number to call.

Example

CallPhoneRequest callPhoneRequest = new CallPhoneRequest(obtainToken(), getApplicationContext(), "41793026727", this);
String destination = callPhoneRequest.getDestination();

Tutorials

Migration guides

Reference documentation

Clone this wiki locally