Class HookedTarget

  • All Implemented Interfaces:

    
    public final class HookedTarget
    
                        

    Information about a process currently hooked by this module.

    Instances are snapshot handles and do not define stable value equality.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum HookedTarget.State

      State of a hooked target.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int getUid() Gets the process uid, provided for display and diagnostics.
      int getPid() Gets the process id, provided for display and diagnostics.
      String getProcessName() Gets the Android process name, provided for display and diagnostics.
      HookedTarget.State getState() Gets the target state.
      long getLoadedVersionCode() Gets the version code of the module package loaded in this process.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getUid

         int getUid()

        Gets the process uid, provided for display and diagnostics.

      • getPid

         int getPid()

        Gets the process id, provided for display and diagnostics. It must not be used as target identity.

      • getProcessName

         String getProcessName()

        Gets the Android process name, provided for display and diagnostics.

      • getLoadedVersionCode

         long getLoadedVersionCode()

        Gets the version code of the module package loaded in this process. This is only a diagnostic value; the framework may use a stronger internal code identity to determine state.