Skip to main content
Version: SDK-5.9.6

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
message : 'bad BackendFunctionToken, Invalid BackendFunctionToken'