Skip to content

AlphynSecurityListener Interface

Interface for receiving security events from the SDK.

onSuccess(AlphynCallbackResult result)

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

onFailure(AlphynCallbackResult result)

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

onThreatDetected(AlphynCallbackResult result)

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