UnitySwiftKotlin←API Reference Return to API Reference index←packageNSDK NSDK←classNSDKSession NSDKSession Method setAccessToken setAccessToken Declaration @MainActor func setAccessToken(_ token: String) Summary Sets the access token on native (routed through AuthManagerApi via C-ABI). Empty or whitespace-only tokens are ignored by native. NoticeImportant: Must be called from the main thread. Parameters NameTypeSummarytokenString-
Sets the access token on native (routed through AuthManagerApi via C-ABI).
Empty or whitespace-only tokens are ignored by native.