LuxChat  2.0
Instant messenger for iOS
Class Methods | List of all members
Parse Class Reference

#import <Parse.h>

Inheritance diagram for Parse:

Class Methods

(void) + setApplicationId:clientKey:
 
More...
 
(void) + initializeWithConfiguration:
 
(nullable ParseClientConfiguration *) + currentConfiguration
 
(NSString *) + getApplicationId
 
(nullable NSString *) + getClientKey
 
(void) + PF_TV_UNAVAILABLE
 
More...
 
(BOOL) + PF_TV_UNAVAILABLE
 
(void) + enableDataSharingWithApplicationGroupIdentifier:
 
More...
 
(void) + enableDataSharingWithApplicationGroupIdentifier:containingApplication:
 
(NSString *) + PF_TV_UNAVAILABLE
 
(NSString *) + PF_TV_UNAVAILABLE
 
(void) + setLogLevel:
 
More...
 
(PFLogLevel) + logLevel
 

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. The Parse class contains static functions that handle global configuration for the Parse framework.

Method Documentation

+ (nullable ParseClientConfiguration *) currentConfiguration

Gets the current configuration in use by the Parse SDK.

Returns
The current configuration in use by the SDK. Returns nil if the SDK has not been initialized yet.
+ (void) enableDataSharingWithApplicationGroupIdentifier: ("Use `enableDataSharingWithApplicationGroupIdentifier:containingApplication:`.")  PF_TV_UNAVAILABLE



Enables data sharing with an application group identifier.

After enabling - Local Datastore, PFUser.+currentUser, PFInstallation.+currentInstallation and all eventually commands are going to be available to every application/extension in a group that have the same Parse applicationId.

Warning
This method is required to be called before +setApplicationId:clientKey:.
Parameters
groupIdentifierApplication Group Identifier to share data with.
+ (void) enableDataSharingWithApplicationGroupIdentifier: (NSString *)  groupIdentifier
containingApplication: (NSString *)  PF_TV_UNAVAILABLE 

Enables data sharing with an application group identifier.

After enabling - Local Datastore, PFUser.+currentUser, PFInstallation.+currentInstallation and all eventually commands are going to be available to every application/extension in a group that have the same Parse applicationId.

Warning
This method is required to be called before +setApplicationId:clientKey:. This method can only be used by application extensions.
Parameters
groupIdentifierApplication Group Identifier to share data with.
bundleIdentifierBundle identifier of the containing application.
+ (NSString *) getApplicationId

The current application id that was used to configure Parse framework.

+ (nullable NSString *) getClientKey

The current client key that was used to configure Parse framework.

+ (void) initializeWithConfiguration: (ParseClientConfiguration *)  configuration

Sets the configuration to be used for the Parse SDK.

Note
Re-setting the configuration after having previously sent requests through the SDK results in undefined behavior.
Parameters
configurationThe new configuration to set for the SDK.
+ (PFLogLevel) logLevel

Log level that will be displayed.

By default:

  • If running inside an app that was downloaded from iOS App Store - it is set to PFLogLevelNone
  • All other cases - it is set to PFLogLevelWarning
Returns
A PFLogLevel value.
See also
PFLogLevel
+ (NSString *) PF_TV_UNAVAILABLE

Application Group Identifier for Data Sharing.

Returns
NSString value if data sharing is enabled, otherwise nil.
+ (void) PF_TV_UNAVAILABLE



Enable pinning in your application. This must be called before your application can use pinning. The recommended way is to call this method before +setApplicationId:clientKey:.

+ (NSString *) PF_TV_UNAVAILABLE

Containing application bundle identifier for Data Sharing.

Returns
NSString value if data sharing is enabled, otherwise nil.
+ (BOOL) PF_TV_UNAVAILABLE

Flag that indicates whether Local Datastore is enabled.

Returns
YES if Local Datastore is enabled, otherwise NO.
+ (void) setApplicationId: (NSString *)  applicationId
clientKey: (NSString *)  clientKey 



Sets the applicationId and clientKey of your application.

Parameters
applicationIdThe application id of your Parse application.
clientKeyThe client key of your Parse application.
+ (void) setLogLevel: (PFLogLevel)  logLevel



Sets the level of logging to display.

By default:

  • If running inside an app that was downloaded from iOS App Store - it is set to PFLogLevelNone
  • All other cases - it is set to PFLogLevelWarning
Parameters
logLevelLog level to set.
See also
PFLogLevel

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