MeiCam SDK For Android  3.13.5
Public Member Functions | List of all members
com.meicam.sdk.NvsARSceneManipulate.NvsARSceneManipulateCallback Interface Reference

AR Scene context callback interface. More...

Public Member Functions

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...
 

Detailed Description

AR Scene context callback interface.

Member Function Documentation

◆ 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
isPreloadedcustom 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
timedetection 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
boundingDetection range

◆ 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
faceFeatureInfosFace 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
handFeatureInfosArray 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
timetotal time spent.

The documentation for this interface was generated from the following file: