Skip to content

SDK Internal Network Operations

Monitoring Network Events (Optional):

If you want to monitor the SDK’s network operations for debugging or analytics purposes, you can listen for these informational events:

public void onSuccess(AlphynCallbackResult result) {
// These are informational events about SDK's internal network operations
switch (result.getOriginalEventType()) {
case NETWORK_INIT:
Log.d("Byteria", "SDK network stack initialized");
break;
case JWT_AUTH_SUCCESS:
Log.d("Byteria", "SDK authenticated with servers");
break;
case NETWORK_MTLS:
Log.d("Byteria", "Secure connection established");
break;
case KEY_EXCHANGE_SUCCESS:
Log.d("Byteria", "Cryptographic keys refreshed");
break;
}
}

Note: These events are purely informational and indicate the SDK’s internal state. No action is required from developers.