Skip to content

Alphyn Callback Result Class

Contains detailed information about SDK operations and events.

AlphynCallbackOperationType

  • initialization - SDK initialization operations
  • securityScan - Security scanning operations
  • scanResponse - Scan result operations
  • network - Network-related operations
  • storage - Secure storage operations
  • callback - Callback system operations

AlphynCallbackOperationResult

  • success - Operation completed successfully
  • failure - Operation failed
  • threatDetected - Security threat identified

operationType: AlphynCallbackOperationType

  • Description: Type of operation that triggered this result.

operationResult: AlphynCallbackOperationResult

  • Description: Result status of the operation.

originalEventType: AlphynEventType

  • Description: Original event type from the SDK.

message: String

  • Description: Human-readable message describing the event.

details: String?

  • Description: Additional details about the event.

getScanResult() -> AlphynScanResult

  • Description: Returns the scan result enum (meaningful only for scan-response events).

isInitialization: Bool - Returns true if this is an initialization event isSecurityScan: Bool - Returns true if this is a security scan event isScanResponse: Bool - Returns true if this is a scan response event isNetwork: Bool - Returns true if this is a network event isStorage: Bool - Returns true if this is a storage event isCallback: Bool - Returns true if this is a callback event isSuccess: Bool - Returns true if the operation was successful isFailure: Bool - Returns true if the operation failed isThreatDetected: Bool - Returns true if a threat was detected