logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_SendAndroidMessage - Send a user command to SDLActivity.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                          SDL_SendAndroidMessage(3)

Description

       Override "boolean onUnhandledMessage(Message msg)" to handle the message.

Function Parameters

command
              user command that must be greater or equal to 0x8000.

       param  user parameter.

Name

       SDL_SendAndroidMessage - Send a user command to SDLActivity.

Return Value

       for more information.

Synopsis

#include<SDL3/SDL_system.h>boolSDL_SendAndroidMessage(Uint32command,intparam);

Thread Safety

       It is safe to call this function from any thread.

See Also