Package 

Interface GaidProvider


  • 
    public interface GaidProvider
    
                        

    Provides the Google Advertising ID (GAID) when available and when the user has not enabled "Limit ad tracking". Must be called from a background thread; use getGaid from a coroutine (e.g. Dispatchers.IO).

    • Method Summary

      Modifier and Type Method Description
      abstract String getGaid() Returns the GAID, or null if unavailable, restricted (limit ad tracking), or on error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getGaid

         abstract String getGaid()

        Returns the GAID, or null if unavailable, restricted (limit ad tracking), or on error. This method may perform I/O and must be called from a background thread.