T

NativeJavaHooksBridge

The Android bridge for hooking Java methods. Needs native.java.hooks.

type NativeJavaHooksBridge = { … }

Members

Removes every result set on a hook.

hook<Receiver extends boolean = true>(className: string, methodName: string, parameterTypes: string[], options?: NativeJavaHookOptions<Receiver>, listener?: (event: NativeJavaHookEvent<Receiver>) => void): NativeJavaHookToken

Hooks the method whose parameter class names match parameterTypes, and sends each call to listener.

Removes a hook.

Removes the result set for this receiver and these arguments.

Sets the result a replace hook returns for calls with this receiver and these arguments.