registerFaceInfoObserver abstract method
Registers a face information observer.
You can call this method to register the onFaceInfo callback to obtain the face information processed by the Agora voice driver plugin. When registering the face information observer using this method, you can register callbacks in the FaceInfoObserver class as needed. After successfully registering the face information observer, the SDK triggers the registered callback when it captures face information converted by the voice driver plugin. You must call this method before joining a channel. Before calling this method, make sure you have called enableExtension to enable the voice driver plugin.
observerFace information observer. See FaceInfoObserver.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
void registerFaceInfoObserver(FaceInfoObserver observer);