|
LuxChat
2.0
Instant messenger for iOS
|
#import <PFPush+Deprecated.h>
Instance Methods | |
| (void) | - sendPushInBackgroundWithTarget:selector: |
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 PFPush that are deprecated and will be removed in the near future.
| + (void) getSubscribedChannelsInBackgroundWithTarget: | (id) | target | |
| selector: | ("Please use `PFPush.+getSubscribedChannelsInBackgroundWithBlock:` instead.") | PARSE_DEPRECATED | |
Asynchronously* get all the channels that this device is subscribed to.
| target | The object to call selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(NSSet *)result error:(NSError *)error. error will be nil on success and set if there was an error. |
PFPush.+getSubscribedChannelsInBackgroundWithBlock: instead. | + (void) sendPushDataToChannelInBackground: | (NSString *) | channel | |
| withData: | (NSDictionary *) | data | |
| target: | (nullable id) | target | |
| selector: | ("Please use `PFPush.+sendPushDataToChannelInBackground:withData:block:` instead.") | PARSE_DEPRECATED | |
Asynchronously* send a push message with arbitrary data to a channel.
See the guide for information about the dictionary structure.
| channel | The channel to send to. The channel name must start with a letter and contain only letters, numbers, dashes, and underscores. |
| data | The data to send. |
| target | The object to call selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not. |
PFPush.+sendPushDataToChannelInBackground:withData:block: instead. | - (void) sendPushInBackgroundWithTarget: | (nullable id) | target | |
| selector: | ("Please use `PFPush.-sendPushInBackgroundWithTarget:selector:` instead.") | PARSE_DEPRECATED | |
Asynchronously* send this push message and calls the given callback.
| target | The object to call selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not. |
PFPush.-sendPushInBackgroundWithTarget:selector: instead. | + (void) sendPushMessageToChannelInBackground: | (NSString *) | channel | |
| withMessage: | (NSString *) | message | |
| target: | (nullable id) | target | |
| selector: | ("Please use `PFPush.+sendPushMessageToChannelInBackground:withMessage:block:` instead.") | PARSE_DEPRECATED | |
Asynchronously* send a push message to a channel.
| channel | The channel to send to. The channel name must start with a letter and contain only letters, numbers, dashes, and underscores. |
| message | The message to send. |
| target | The object to call selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not. |
PFPush.+sendPushMessageToChannelInBackground:withMessage:block: instead. | + (void) subscribeToChannelInBackground: | (NSString *) | channel | |
| target: | (nullable id) | target | |
| selector: | ("Please use `PFPush.+subscribeToChannelInBackground:block:` instead.") | PARSE_DEPRECATED | |
Asynchronously* subscribes the device to a channel of push notifications and calls the given callback.
| channel | The channel to subscribe to. The channel name must start with a letter and contain only letters, numbers, dashes, and underscores. |
| target | The object to call selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not. |
PFPush.+subscribeToChannelInBackground:block: instead. | + (void) unsubscribeFromChannelInBackground: | (NSString *) | channel | |
| target: | (nullable id) | target | |
| selector: | ("Please use `PFPush.+unsubscribeFromChannelInBackground:block:` instead.") | PARSE_DEPRECATED | |
Asynchronously* unsubscribes the device from a channel of push notifications and calls the given callback.
| channel | The channel to unsubscribe from. |
| target | The object to call selector on. |
| selector | The selector to call. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not. |
PFPush.+unsubscribeFromChannelInBackground:block: instead.
1.8.9.1