Skip to content

PhoneEndpoint

Kenan Genjac edited this page Feb 18, 2025 · 2 revisions

extends Endpoint



init(phoneNumber)

Description

Creates a new instance of PhoneEndpoint.

Arguments

  • phoneNumber: String - Participants phone number on this endpoint

Returns

Example

let phoneEndpoint = PhoneEndpoint("phoneNumber");
os_log("PhoneEndpoint identifier: %@ and displayIdentifier: %@", phoneEndpoint.identifier(), phoneEndpoint.displayIdentifier());



identifier()

Description

Returns the value of the identifier on this endpoint represented by the participant's phone number.

Arguments

  • none

Returns

  • String - Identifier of the participant on this endpoint

Example

os_log("Identifier of the participant on this endpoint: %@", endpoint.identifier());



displayIdentifier()

Description

Returns the value of the display identifier on this endpoint represented by the participant's phone number.

Arguments

  • none

Returns

  • String? - Display identifier of the participant on this endpoint

Example

os_log("Display identifier of the participant on this endpoint: %@", endpoint.displayIdentifier());

Tutorials

Migration guides

Reference documentation

Clone this wiki locally