binder_ndk_sys

Function AIBinder_Class_setHandleShellCommand

Source
pub unsafe extern "C" fn AIBinder_Class_setHandleShellCommand(
    clazz: *mut AIBinder_Class,
    handleShellCommand: AIBinder_handleShellCommand,
)
Expand description

This sets the implementation of handleShellCommand for a class.

If this isn’t set, nothing will be executed when handleShellCommand is called.

Available since API level 30.

\param handleShellCommand function to call when a shell transaction is received