Skip to content

Alphyn Security Listener

Protocol for receiving security events from the SDK.

onSuccess(result: AlphynCallbackResult)

  • Description: Called when any operation completes successfully.
  • Parameters: result - Details about the successful operation.
  • Thread: Main thread

onFailure(result: AlphynCallbackResult)

  • Description: Called when any operation fails.
  • Parameters: result - Details about the failed operation and error information.
  • Thread: Main thread

onThreatDetected(result: AlphynCallbackResult)

  • Description: Called when a security threat is detected.
  • Parameters: result - Details about the detected threat.
  • Thread: Main thread