Class NativeAPI.JsonResponse
public static class NativeAPI.JsonResponse
- Inheritance
-
objectNativeAPI.JsonResponse
Methods
litert_lm_json_response_delete(nint)
Destroys a LiteRT LM Json Response object.
public static extern void litert_lm_json_response_delete(nint response)
Parameters
responsenintThe response to destroy.
litert_lm_json_response_get_string(nint)
Returns the JSON response string from a response object.
public static extern nint litert_lm_json_response_get_string(nint response)
Parameters
responsenintThe response object.
Returns
- nint
The response JSON string. The returned string is owned by the JsonResponse object and is valid only for its lifetime. Returns nint.Zero if
responseis nint.Zero.