java.lang.Object | |
↳ | sg.com.temasys.skylink.sdk.adapter.FileTransferAdapter |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is triggered when we have received a file successfully.
| |||||||||||
This is triggered timely to report the on going progress when receiving a file
| |||||||||||
This is triggered when we have sent a file successfully.
| |||||||||||
This is triggered timely to report the on going progress when sending a file
| |||||||||||
This is triggered when an ongoing file transfer drops due to some reason.
| |||||||||||
This is triggered upon receiving a file transfer request from a peer.
| |||||||||||
This is triggered upon receiving the response of a peer to our request for file transfer with
the peer.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
sg.com.temasys.skylink.sdk.listener.FileTransferListener
|
This is triggered when we have received a file successfully.
remotePeerId | The id of the peer |
---|---|
fileName | The name of the file |
This is triggered timely to report the on going progress when receiving a file
remotePeerId | The id of the peer sending the file. |
---|---|
fileName | The name of the file |
percentage | The percentage completed |
This is triggered when we have sent a file successfully.
remotePeerId | The id of the peer receiving the file. |
---|---|
fileName | The name of the file |
This is triggered timely to report the on going progress when sending a file
remotePeerId | The id of the peer receiving the file. |
---|---|
fileName | The name of the file |
percentage | The percentage completed |
This is triggered when an ongoing file transfer drops due to some reason.
remotePeerId | The id of the peer. Null if broadcast file transfer was attempted. |
---|---|
fileName | The name of the file |
message | Message that possibly tells the reason for dropping |
isExplicit | True if user canceled the transfer explicitly, as opposed to being due to error in the transfer process. |
This is triggered upon receiving a file transfer request from a peer.
remotePeerId | The id of the peer |
---|---|
fileName | The name of the file |
isPrivate | Flag to specify if file share was directed to only us (as opposed to all peers in the room). |
This is triggered upon receiving the response of a peer to our request for file transfer with the peer.
remotePeerId | The id of the peer |
---|---|
fileName | The name of the file |
isPermitted | Flag to specify whether the peer has accepted the request |