Instance Property

phoneNumber

The driver’s phone number.

Declaration

var phoneNumber: String? { get }

Discussion

When displaying information about the driver, the system displays the provided string as-is and does not try to format it. You are responsible for formatting the phone number appropriately for the user’s locale.

See Also

Getting the Driver Information

var rating: String?

The driver’s current rating.