Class: EditableContactPhoneField

Constructor

new EditableContactPhoneField()

Class representing the contact's phone number property.

Methods

getLabel1() → {string}

Returns label 1 of this phone number.

Inherited From:
Returns:
{ string }

getLabel2() → {string}

Returns label 2 of this phone number.

Inherited From:
Returns:
{ string }

getPhoneNumber() → {string}

Returns the phone number.

Inherited From:
Returns:
{ string }

getPhoneNumberType() → {AvayaClientServices.Services.Contacts.ContactPhoneNumberType}

Returns the type of this phone number.

Inherited From:
Returns:

getWriteCapability() → {AvayaClientServices.Base.Capability}

Returns write capability of this contact field.

Inherited From:
Returns:

isDefault() → {boolean}

Returns true if this is the contact's default phone number.

Inherited From:
Returns:
{ boolean }

isSpeedDialEnabled() → {boolean}

Returns true if speed dial is enabled for the contact.

Inherited From:
Returns:
{ boolean }

setDefault(default)

Specifies if this phone number is default for the contact.

Parameters:
Name Type Description
default boolean

setLabel1(label1)

Sets label 1 of this phone number.

Parameters:
Name Type Description
label1 string

setLabel2(label2)

Sets label 2 of this phone number.

Parameters:
Name Type Description
label2 string

setPhoneNumber(phoneNumber)

Sets a phone number.

Parameters:
Name Type Description
phoneNumber string

setPhoneNumberType(phoneNumberType)

Sets the type of this phone number.

Parameters:
Name Type Description
phoneNumberType AvayaClientServices.Services.Contacts.ContactPhoneNumberType

setSpeedDialEnabled(speedDialEnabled)

Specifies if speed dial is enabled for the contact.

Parameters:
Name Type Description
speedDialEnabled boolean
©2016 Avaya Inc. All Rights Reserved.