acllogUnregisterCallback
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
☓ |
|
☓ |
|
☓ |
Function
Unregisters a callback function for device plogs. After successful unregistration, the callback function is no longer called.
Prototype
1 | int32_t acllogUnregisterCallback(acllogCallbackHandle callback) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
callback |
Input |
Callback handle returned after a successful registration through acllogRegisterCallback. |
Returns
Returns the callback unregistration result.
0: successful unregistration
-1: unregistration failure The failure scenarios include the following: invalid callback handle or unregistered callback handle.
Example
int32_t ret = acllogUnregisterCallback(handle);
Parent topic: Log APIs