get Player Id
Retrieves the unique identifier for this player instance.
The ID is guaranteed to be unique within the application context, allowing multiple player instances to be distinguished.
Example usage:
SurfaceView surfaceView = findViewById(R.id.surface_view);
SandboxedPlayer player = new SandboxedPlayer(context, surfaceView);
int playerId = player.getPlayerId();
Log.d("Client", "Player ID: " + playerId);
Content copied to clipboard
Return
The instance ID, guaranteed to be unique within the application context.