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...
|
|
void | notifyHandFeatureInfos (List< NvsHandFeatureInfo > handFeatureInfos) |
| Get the callback of the hand features for the face.
Please pay special attention: this function is called in the background thread, not in the UI thread. Please consider thread safety issues!! 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 |
◆ notifyHandFeatureInfos()
void com.meicam.sdk.NvsARSceneManipulate.NvsARSceneManipulateCallback.notifyHandFeatureInfos |
( |
List< NvsHandFeatureInfo > |
handFeatureInfos | ) |
|
Get the callback of the hand features for the face.
Please pay special attention: this function is called in the background thread, not in the UI thread. Please consider thread safety issues!!
- Parameters
-
handFeatureInfos | Array of hand feature info |
- Since
- 3.11.1
◆ 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: