Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 490 Bytes

SDL_AndroidSendMessage.mediawiki

File metadata and controls

32 lines (20 loc) · 490 Bytes

Table of Contents

SDL_AndroidSendMessage

Send a user command to SDLActivity.

Syntax

<syntaxhighlight lang="c"> int SDL_AndroidSendMessage(Uint32 command, int param); </syntaxhighlight>

Function Parameters

command user command that must be greater or equal to 0x8000
param user parameter

Remarks

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

Version

This function is available since SDL 2.0.22.


CategoryAPI