FetchLocalUserMetadata (Unity)

public static void FetchLocalUserMetadata(string key, Action<string> onSuccess = null, Action<string> onFailure = null)

- Description

Fetches the local user’s metadata via key-value lookup.

 

For more information on user metadata, see INSERTPAGE for details.

- Sample

using CavrnusSdk.API; using UnityEngine; public class ExampleScript: MonoBehaviour { public void Start() { CavrnusFunctionLibrary.AwaitAuthentication(authentication => { CavrnusFunctionLibrary.FetchLocalUserMetadata("nickname", print, print); }); } }

Â