ResourceCallbackHandler Callback

Definition

Represents the method that will handle a resource callback.

resource_callback_handler(context: object, args: ResourceCallbackArgs) -> int

Parameters

context object
in The callback context.

in The resource callback arguments. See ResourceCallbackArgs for details.

Returns

int
An error code.
See BiosealError file for the list of possible error codes.
typedef ResourceCallbackHandler = int Function(Object context, ResourceCallbackArgs args)

Parameters

context Object
in The callback context.

in The resource callback arguments. See ResourceCallbackArgs for details.

Returns

int
An error code.
See BiosealError file for the list of possible error codes.
public delegate int _ResourceCallbackHandler(IntPtr context, IntPtr args);

Parameters

context IntPtr
in The callback context.

in The resource callback arguments. See ResourceCallbackArgs for details.

Returns

int
An error code.
See BiosealError file for the list of possible error codes.
@FunctionalInterface
public interface ResourceCallbackHandler {
    int callback(Object context, ResourceCallbackArgs args)
}

Parameters

context Object
in The callback context.

in The resource callback arguments. See ResourceCallbackArgs for details.

Returns

int
An error code.
See BiosealError file for the list of possible error codes.
public func resourceCallbackHandler(context: void, args: ResourceCallbackArgs) throws

Parameters

context void
in The callback context.

in The resource callback arguments. See ResourceCallbackArgs for details.

Returns

int
An error code.
See BiosealError file for the list of possible error codes.
typedef int (* id3BiosealResourceCallbackHandler) (
    void * context,
    ID3_BIOSEAL_RESOURCE_CALLBACK_ARGS hArgs)

Parameters

context void *
in The callback context.

in The resource callback arguments. See ResourceCallbackArgs for details.

Returns

int
An error code.
See id3BiosealError file for the list of possible error codes.