Class InstallReferrer

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

    public class InstallReferrer
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    AdTrace android SDK (https://adtrace.io) Created by Nasser Amini (github.com/namini40) on April 2022. Notice: See LICENSE.txt for modification and distribution information Copyright © 2022.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
      void startConnection()
      Start connection with install referrer service.
      • Methods inherited from class java.lang.Object

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

      • InstallReferrer

        public InstallReferrer​(android.content.Context context,
                               InstallReferrerReadListener referrerCallback)
        Default constructor.
        Parameters:
        context - Application context
        referrerCallback - Callback for referrer information
    • Method Detail

      • startConnection

        public void startConnection()
        Start connection with install referrer service.
      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable