Class: ReceivedFileTransferInvitation

ReceivedFileTransferInvitation

ReceivedFileTransferInvitation

Defines an invitation received by this client for a call

Extends

Methods


<static> getAvailableEvents()

Returns available events for this class

Returns:
Type
Array.<string>

accept()

Accepts this invitation & notifies sender

Overrides:
Returns:

{file, name, type} received an object with file, file name and file type parameters in promise

Type
Promise.<Object>

decline()

Declines this invitation & notifies sender

Overrides:
Returns:
Type
Void

getFileInfo()

Returns file information

Returns:
Type
FileInfo

getId()

Returns invitation id

Inherited From:
Returns:
Type
string

getReceiveTime()

Returns invitation receive time

Inherited From:
Returns:
Type
Date

getSender()

Returns invitation / request sender

Inherited From:
Returns:
Type
Contact

Events


error

When an error occured during file transfer

Type: Error

progress

Emitted periodically during file transfer and contains file transfer progression information

Type: TransferInformation

statusChange

Emitted invitation status change

Type: StatusChangeInfo
Inherited From: