Skip to main content

SetUserId

[Player Network SDK & MSDK] Sets the crash reporting user ID.

Supported channels: Firebase, CrashSight

Supported Platform

Supports Android, iOS, Windows platform.
note

MSDK currently does not support Windows.

Function Definition

void SetUserId(string userId);

Input Parameters

ParameterTypeDescription
userIdstringUser ID

Code Sample

UnionAdapterAPI.GetCrashService().SetUserId("userId");