VideoController class
VideoController class is used to communicate between the app and the host client during the video capture flow
- Extends
-
MediaController<VideoControllerCallback>
Constructors
Video |
Methods
notify |
Notify or send an event related to the playback and control of video content to a registered application. |
Inherited Methods
stop(error |
Function to programatically stop the ongoing media event Optional; |
Constructor Details
VideoController(VideoControllerCallback)
new VideoController(controllerCallback?: VideoControllerCallback)
Parameters
- controllerCallback
- VideoControllerCallback
Method Details
notifyEventToApp(MediaControllerEvent)
Notify or send an event related to the playback and control of video content to a registered application.
function notifyEventToApp(mediaEvent: MediaControllerEvent)
Parameters
- mediaEvent
- MediaControllerEvent
Inherited Method Details
stop(errorCallbackFunctionType)
Function to programatically stop the ongoing media event Optional;
function stop(callback?: errorCallbackFunctionType)
Parameters
- callback
- errorCallbackFunctionType
is used to send app if host client has successfully stopped the event or not
Inherited From MediaController.stop
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour