AR Scene context callback interface.
More...
|
| void | notifyFaceBoundingRect (List< NvsFaceBoundingRectInfo > bounding) |
| | Notify face has been detected and face bounding rect in normalized coord Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety. More...
|
| |
| void | notifyFaceFeatureInfos (List< NvsFaceFeatureInfo > faceFeatureInfos) |
| | Notify face has been detected and its features in normalized coord Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety. More...
|
| |
| void | notifyCustomAvatarRealtimeResourcesPreloaded (boolean isPreloaded) |
| | Notify if custom avatar realtime resources is preloaded or not. Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety. More...
|
| |
| void | notifyDetectionTimeCost (float time) |
| | Notify detection time spent. Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety. More...
|
| |
| void | notifyTotalTimeCost (float time) |
| | Notify total time spent. Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety. More...
|
| |
AR Scene context callback interface.
◆ notifyCustomAvatarRealtimeResourcesPreloaded()
| void com.meicam.sdk.NvsARSceneManipulate.NvsARSceneManipulateCallback.notifyCustomAvatarRealtimeResourcesPreloaded |
( |
boolean |
isPreloaded | ) |
|
Notify if custom avatar realtime resources is preloaded or not. Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety.
- Parameters
-
| isPreloaded | custom avatar realtime resources is preloaded or not. |
◆ notifyDetectionTimeCost()
| void com.meicam.sdk.NvsARSceneManipulate.NvsARSceneManipulateCallback.notifyDetectionTimeCost |
( |
float |
time | ) |
|
Notify detection time spent. Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety.
- Parameters
-
| time | detection time spent. |
◆ notifyFaceBoundingRect()
| void com.meicam.sdk.NvsARSceneManipulate.NvsARSceneManipulateCallback.notifyFaceBoundingRect |
( |
List< NvsFaceBoundingRectInfo > |
bounding | ) |
|
Notify face has been detected and face bounding rect in normalized coord Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety.
- Parameters
-
◆ notifyFaceFeatureInfos()
| void com.meicam.sdk.NvsARSceneManipulate.NvsARSceneManipulateCallback.notifyFaceFeatureInfos |
( |
List< NvsFaceFeatureInfo > |
faceFeatureInfos | ) |
|
Notify face has been detected and its features in normalized coord Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety.
- Parameters
-
| faceFeatureInfos | Face feature information |
◆ notifyTotalTimeCost()
| void com.meicam.sdk.NvsARSceneManipulate.NvsARSceneManipulateCallback.notifyTotalTimeCost |
( |
float |
time | ) |
|
Notify total time spent. Note: This function can only be called in backend thread, not in UI thread. Please pay attention to thread safety.
- Parameters
-
The documentation for this interface was generated from the following file: