public abstract class

VideoSharingListener

extends Object
java.lang.Object
   ↳ com.gsma.services.rcs.sharing.video.VideoSharingListener

Class Overview

Video sharing event listener

Summary

Public Constructors
VideoSharingListener()
Public Methods
abstract void onDeleted(ContactId contact, Set<String> sharingIds)
Callback called when a delete operation completed that resulted in that one or several video sharings was deleted specified by the sharingIds parameter corresponding to a specific contact.
abstract void onStateChanged(ContactId contact, String sharingId, VideoSharing.State state, VideoSharing.ReasonCode reasonCode)
Callback called when the sharing state/reasonCode is changed.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public VideoSharingListener ()

Since: API Level 1.5

Public Methods

public abstract void onDeleted (ContactId contact, Set<String> sharingIds)

Since: API Level 1.5

Callback called when a delete operation completed that resulted in that one or several video sharings was deleted specified by the sharingIds parameter corresponding to a specific contact.

Parameters
contact Contact ID
sharingIds ids of those deleted video sharing

public abstract void onStateChanged (ContactId contact, String sharingId, VideoSharing.State state, VideoSharing.ReasonCode reasonCode)

Since: API Level 1.5

Callback called when the sharing state/reasonCode is changed.

Parameters
contact Contact ID
sharingId ID of video sharing
state State of video sharing
reasonCode Reason code of the video sharing state