Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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