Function binder_ndk_sys::AIBinder_Class_setOnDump

source ·
pub unsafe extern "C" fn AIBinder_Class_setOnDump(
    clazz: *mut AIBinder_Class,
    onDump: AIBinder_onDump,
)
Expand description

This sets the implementation of the dump method for a class.

If this isn’t set, nothing will be dumped when dump is called (for instance with android.os.Binder#dump). Must be called before any instance of the class is created.

Available since API level 29.

\param clazz class which should use this dump function \param onDump function to call when an instance of this binder class is being dumped.