core / pragma.telemetry / TelemetryService / getClientConfigV1 /

getClientConfigV1 #

suspend fun getClientConfigV1(session: PlayerSession, request: TelemetryRpc.GetClientConfigV1Request): TelemetryRpc.GetClientConfigV1Response

Returns the client telemetry config used by SDKs to gate client-originated event sending.

Called lazily by the SDK on the first telemetry send attempt on a connection. The response carries the sampling weights plus a per-session force-enable flag resolved against TelemetryServiceConfig.alwaysEnabledIds using this backend’s connection ID kind (playerId on the game backend, socialId elsewhere).