FileSharingNotificationListener

interface FileSharingNotificationListener

Listener for file sharing generated notifications

Author

kristiyan

Since

v1.1.11

Functions

Link copied to clipboard
abstract fun onCreateNotification(    fileInfo: FileInfo,     notificationType: FileSharingNotificationType,     notificationStyle: FileSharingNotificationStyle)

This method will be called when a notification is going to be displayed. The notification look&feel can be customized here.

Link copied to clipboard
abstract fun onIncomingFile(    file: IncomingFile,     isDnd: Boolean,     isScreenLocked: Boolean)

This method will be called when an incoming file has been received. Here it is possible to display or not the notification.