ARGSession maintains the status of your application and manages the life cycle of your application according to the status.
4.1 Init & Create
When creating ARGSession, you can pass ARGConfig and ARGInferenceConfig.Feature parameters. ARGConfig contains API URL, API key, secret key, and auth key and it must be sent to ARGSession.
You must pass ARGInferenceConfig.Feature parameter to ARGSession and the selected feature will be obtained. The configured feature information can be obtained from ARGFrame. (For related information, please refer to 12.1 ARGSession and 12.3 ARGFrame.)
Unless properly setting ARGConfig during ARGSession creation, ARGear SDK will not be initiated. Therefore, you must create an account in https://argear.io,set the created API Key information in ARGConfig, and create ARGSession with the ARGConfig to use ARGear SDK.
To start or resume the currently used ARGSession, simply call the “resume” function inside.