Package com.opentok.android
Interface Session.ArchiveListener
- Enclosing class:
Session
public static interface Session.ArchiveListener
Monitors when an archive recording of the session starts and stops.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onArchiveStarted
(Session session, String id, String name) Called when an archive of the session starts recording.void
onArchiveStopped
(Session session, String id) Called when an archive of the session stops being recorded.
-
Method Details
-
onArchiveStarted
Called when an archive of the session starts recording. In response to this method, you may want to add a user interface notification (such as an icon in the Publisher view) that indicates the session is being recorded.- Parameters:
session
- The session that is being recorded.id
- The unique ID of the archive.name
- The name of the archive (if one was provided when the archive was created).
-
onArchiveStopped
Called when an archive of the session stops being recorded. In response to this method, you may want to remove a user interface notification (such as an icon in the Publisher view) the session recording has stopped.- Parameters:
session
- The session that was being recorded.id
- The unique ID of the archive.
-