DeleteLocalUserMetadata (Unity)
public static void DeleteLocalUserMetadata(string key, Action<string> onSuccess = null, Action<string> onFailure = null)
- Description
Deletes 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.DeleteLocalUserMetadata("nickname", print, print);
});
}
}
Â