Package io.github.libxposed.service
Class HookedTarget
-
- All Implemented Interfaces:
public final class HookedTargetInformation 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 enumHookedTarget.StateState of a hooked target.
-
Method Summary
Modifier and Type Method Description intgetUid()Gets the process uid, provided for display and diagnostics. intgetPid()Gets the process id, provided for display and diagnostics. StringgetProcessName()Gets the Android process name, provided for display and diagnostics. HookedTarget.StategetState()Gets the target state. longgetLoadedVersionCode()Gets the version code of the module package loaded in this process. -
-
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.
-
getState
HookedTarget.State getState()
Gets the target state.
-
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.
-
-
-
-