delegateMethod | Método Delegate. |
bool Retorna true si es exitoso, o false para plataformas que no soportan Advertising Identifiers (identificadores de publicidad). En este caso, el método delegate no es invocado.
Request advertising ID for iOS and Windows Store.
using System; using UnityEngine;
public class SampleBehaviour : MonoBehaviour { public void Start() { Application.RequestAdvertisingIdentifierAsync( (string advertisingId, bool trackingEnabled, string error) => { Debug.Log("advertisingId " + advertisingId + " " + trackingEnabled + " " + error); } ); } }