Below is a listing of functions and static members of UAndroidSingleInstanceServiceBPLibrary (category AndroidSingleInstanceService) that are callable from Blueprint and C++.
Events
Below are the available Event functions you can use:
| Function | Description |
|---|---|
| Send an event from the engine to the Android side. |
| Register to receive events from Java. Delegate signature: (int32 EventId, FString Param1, int32 Param2, int32 Param3, float Param4). |
| Unregister. |
Typed Data Receivers
For each scalar type and its array form, there is a register / unregister pair. Delegate signature is (int32 DataId, FString Key, <T> Data):
| Type | Register (scalar / array) |
|---|---|
| RegisterAndroidDataReceivedStringDelegate / ...StringArrayDelegate |
| RegisterAndroidDataReceivedBooleanDelegate / ...BooleanArrayDelegate |
| RegisterAndroidDataReceivedByteDelegate / ...ByteArrayDelegate |
| RegisterAndroidDataReceivedIntDelegate / ...IntArrayDelegate |
| RegisterAndroidDataReceivedShortDelegate / ...ShortArrayDelegate |
| RegisterAndroidDataReceivedLongDelegate / ...LongArrayDelegate |
| RegisterAndroidDataReceivedFloatDelegate / ...FloatArrayDelegate |
| RegisterAndroidDataReceivedDoubleDelegate / ...DoubleArrayDelegate |
Extra-View Registration
Below are the available Extra-View Registration functions you can use:
| Function | Description |
|---|---|
| Register a camera as the client source for the extra view with this client ID. |
| Register a player controller; the view renders through the PC's camera manager. |
| Register the game instance's viewport client as the source. |
| Set how often this view draws (see section 10). |