API Documentation Integration MsecSdk
|
A test class for integrating and testing the MsecSdk in Unity. More...
Public Member Functions | |
void | OnViolationDetected (ViolationInfo violationInfo) |
Callback for when a violation is detected by the MsecSdk. More... | |
void | OnInitializationCompleted (InitializationStatus initStatus) |
Callback for when MsecSdk initialization is completed. More... | |
void | OnPerformanceDataReported (PerformanceData performanceData) |
Callback for when performance data is reported by the MsecSdk. More... | |
A test class for integrating and testing the MsecSdk in Unity.
This class initializes the MsecSdk, handles callbacks for violations, initialization status, and performance data, and logs relevant information to the Unity console.
|
inline |
Callback for when MsecSdk initialization is completed.
initStatus | The status of the initialization process. |
< Logs the initialization status, timestamp, and OTP.
< If initialization is successful, retrieves and logs the OTP code.
< Verifies the domain certificate for "google.com" on port 443 and logs the result.
Implements MsecUnitySdk.IMsecSdkListener.
|
inline |
Callback for when performance data is reported by the MsecSdk.
performanceData | The performance metrics reported by the SDK. |
< Logs CPU usage, memory usage, FPS, thread count, and timestamp to the Unity console.
Implements MsecUnitySdk.IMsecSdkListener.
|
inline |
Callback for when a violation is detected by the MsecSdk.
violationInfo | Information about the detected violation. |
< Logs the violation's name, category, and code to the Unity console.
Implements MsecUnitySdk.IMsecSdkListener.