Skip to main content
Version: 5.11.8

GetFunctionList

public BackendReturnObject GetFunctionList();

Description

Looks up the list of BACKND functions deployed in the server.

Example

Synchronous

Backend.BFunc.GetFunctionList();

Asynchronous

Backend.BFunc.GetFunctionList((callback) =>
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.BFunc.GetFunctionList, (callback) =>
{
// Post-process
});

Return casess

Success cases

When the lookup is successful
statusCode : 200
errorCode : Success returnValue : { functions : ['funcA', 'funcB', ...] }

When the lookup is successful but the method list does not exist
statusCode : 200
errorCode : Success returnValue : { functions : [] }

Error cases

When an incorrect BACKND Function authorization key is entered in Unity
statusCode : 401
errorCode : BadUnauthorizedException