LuxChat  2.0
Instant messenger for iOS
Class Methods | List of all members
PFCloud(Synchronous) Category Reference

#import <PFCloud+Synchronous.h>

Class Methods

(nullable id) + callFunction:withParameters:
 
(nullable id) + callFunction:withParameters:error:
 

Detailed Description

Copyright (c) 2015-present, Parse, LLC. All rights reserved.

This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. This category lists all methods of PFCloud class that are synchronous, but have asynchronous counterpart, Calling one of these synchronous methods could potentially block the current thread for a large amount of time, since it might be fetching from network or saving/loading data from disk.

Method Documentation

+ (nullable id) callFunction: (NSString *)  function
withParameters: (nullable NSDictionary *)  PF_SWIFT_UNAVAILABLE 

Calls the given cloud function synchronously with the parameters provided.

Parameters
functionThe function name to call.
parametersThe parameters to send to the function.
Returns
The response from the cloud function.

Extends class PFCloud.

+ (nullable id) callFunction: (NSString *)  function
withParameters: (nullable NSDictionary *)  parameters
error: (NSError **)  error 

Calls the given cloud function synchronously with the parameters provided and sets the error if there is one.

Parameters
functionThe function name to call.
parametersThe parameters to send to the function.
errorPointer to an NSError that will be set if necessary.
Returns
The response from the cloud function. This result could be a NSDictionary, an NSArray, NSNumber or NSString.

Extends class PFCloud.


The documentation for this category was generated from the following file: