LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Application.AdvertisingIdentifierCallback

public delegate void AdvertisingIdentifierCallback(string advertisingId, bool trackingEnabled, string errorMsg);

Parameters

advertisingIdAdvertising ID.
trackingEnabledIndicates whether user has chosen to limit ad tracking.
errorMsgError message.

Description

Delegate method for fetching advertising ID.

See Also: Application.RequestAdvertisingIdentifier.