MLCloudCode Class Reference

Inherits from NSObject
Declared in MLCloudCode.h

Overview

The MLCloudCode class provides methods for interacting with MaxLeap Cloud Functions.

+ callFunctionInBackground:withParameters:block:

Calls the given cloud function with the parameters provided asynchronously and calls the given block when it is done.

+ (void)callFunctionInBackground:(nonnull NSString *)function withParameters:(nullable NSDictionary *)parameters block:(nullable MLIdResultBlock)block

Parameters

function

The function name to call.

parameters

The parameters to send to the function.

block

The block to execute. The block should have the following argument signature:(id object, NSError *error).

Declared In

MLCloudCode.h