Frida Docs Unified
    Preparing search index...

    Interface ClassSpec<D, T, S>

    interface ClassSpec<D = InstanceData, T = default.Object, S = default.Object> {
        methods?: {
            [name: string]:
                | UserMethodImplementation<D, T, S>
                | default.MethodSpec<UserMethodImplementation<D, T, S>>;
        };
        name?: string;
        protocols?: Protocol[];
        super?: default.Object;
    }

    Type Parameters

    Index

    Properties

    methods?: {
        [name: string]:
            | UserMethodImplementation<D, T, S>
            | default.MethodSpec<UserMethodImplementation<D, T, S>>;
    }

    Methods to implement.

    name?: string

    Name of the class.

    Omit this if you don’t care about the globally visible name and would like the runtime to auto-generate one for you.

    protocols?: Protocol[]

    Protocols this class conforms to.

    super?: default.Object

    Super-class, or null to create a new root class. Omit to inherit from NSObject.