Frida Docs Unified
    Preparing search index...
    interface ClassSpec {
        fields?: { [name: string]: string };
        implements?: Wrapper<{}>[];
        methods?: {
            [name: string]:
                | MethodImplementation<{}, any[], any>
                | default.MethodSpec
                | default.MethodSpec[];
        };
        name: string;
        superClass?: Wrapper<{}>;
    }
    Index

    Properties

    fields?: { [name: string]: string }

    Name and type of each field to expose.

    implements?: Wrapper<{}>[]

    Interfaces implemented by this class.

    methods?: {
        [name: string]:
            | MethodImplementation<{}, any[], any>
            | default.MethodSpec
            | default.MethodSpec[];
    }

    Methods to implement. Use the special name $init to define one or more constructors.

    name: string

    Name of the class.

    superClass?: Wrapper<{}>

    Super-class. Omit to inherit from java.lang.Object.