PhoneNumber

data class PhoneNumber(val number: String, val type: PhoneNumberType) : Parcelable

Represents a phone number.

Parameters

number

The phone number associated with this contact.

type

The type of this phone number.

Constructors

Link copied to clipboard
fun PhoneNumber(number: String, type: PhoneNumberType)

Properties

Link copied to clipboard
val number: String
Link copied to clipboard
val type: PhoneNumberType

Functions

Link copied to clipboard
open override fun toString(): String

number is masked when the PhoneNumber is printed.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)