FMWebSyncUnsubscribeArgs Class Reference

Inherits from FMWebSyncBaseInputArgs : FMWebSyncExtensible : FMDynamic : FMSerializable : NSObject
Declared in FMWebSync.h

Overview

Arguments for client unsubscribe requests.

– channel

Gets the channel from which the client should be unsubscribed. Must start with a forward slash (/). Overrides .

- (NSString *)channel

Discussion

Gets the channel from which the client should be unsubscribed. Must start with a forward slash (/). Overrides .

Declared In

FMWebSync.h

– channels

Gets the channels from which the client should be unsubscribed. Each must start with a forward slash (/). Overrides .

- (NSMutableArray *)channels

Discussion

Gets the channels from which the client should be unsubscribed. Each must start with a forward slash (/). Overrides .

Declared In

FMWebSync.h

– initWithChannel:

Initializes a new instance of the class.

- (id)initWithChannel:(NSString *)channel

Parameters

name="channel">The

channel to unsubscribe.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– initWithChannel:tag:

Initializes a new instance of the class.

- (id)initWithChannel:(NSString *)channel tag:(NSString *)tag

Parameters

name="channel">The

channel to unsubscribe.

name="tag">The

tag identifying the subscription.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– initWithChannels:

Initializes a new instance of the class.

- (id)initWithChannels:(NSMutableArray *)channels

Parameters

name="channels">The

channels to unsubscribe.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– initWithChannels:tag:

Initializes a new instance of the class.

- (id)initWithChannels:(NSMutableArray *)channels tag:(NSString *)tag

Parameters

name="channels">The

channels to unsubscribe.

name="tag">The

tag identifying the subscription.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– onComplete

Gets the callback to invoke after or .

- (FMCallback *)onComplete

Discussion

Gets the callback to invoke after or .

Declared In

FMWebSync.h

– onFailure

Gets the callback to invoke if the request fails.

- (FMCallback *)onFailure

Discussion

Gets the callback to invoke if the request fails.

Declared In

FMWebSync.h

– onSuccess

Gets the callback to invoke if the request succeeds.

- (FMCallback *)onSuccess

Discussion

Gets the callback to invoke if the request succeeds.

Declared In

FMWebSync.h

– setChannel:

Sets the channel from which the client should be unsubscribed. Must start with a forward slash (/). Overrides .

- (void)setChannel:(NSString *)value

Discussion

Sets the channel from which the client should be unsubscribed. Must start with a forward slash (/). Overrides .

Declared In

FMWebSync.h

– setChannels:

Sets the channels from which the client should be unsubscribed. Each must start with a forward slash (/). Overrides .

- (void)setChannels:(NSMutableArray *)value

Discussion

Sets the channels from which the client should be unsubscribed. Each must start with a forward slash (/). Overrides .

Declared In

FMWebSync.h

– setOnComplete:

Sets the callback to invoke after or .

- (void)setOnComplete:(FMCallback *)value

Discussion

Sets the callback to invoke after or .

Declared In

FMWebSync.h

– setOnCompleteBlock:

Sets the callback to invoke after or .

- (void)setOnCompleteBlock:(void ( ^ ) ( FMWebSyncUnsubscribeCompleteArgs *))valueBlock

Discussion

Sets the callback to invoke after or .

Declared In

FMWebSync.h

– setOnFailure:

Sets the callback to invoke if the request fails.

- (void)setOnFailure:(FMCallback *)value

Discussion

Sets the callback to invoke if the request fails.

Declared In

FMWebSync.h

– setOnFailureBlock:

Sets the callback to invoke if the request fails.

- (void)setOnFailureBlock:(void ( ^ ) ( FMWebSyncUnsubscribeFailureArgs *))valueBlock

Discussion

Sets the callback to invoke if the request fails.

Declared In

FMWebSync.h

– setOnSuccess:

Sets the callback to invoke if the request succeeds.

- (void)setOnSuccess:(FMCallback *)value

Discussion

Sets the callback to invoke if the request succeeds.

Declared In

FMWebSync.h

– setOnSuccessBlock:

Sets the callback to invoke if the request succeeds.

- (void)setOnSuccessBlock:(void ( ^ ) ( FMWebSyncUnsubscribeSuccessArgs *))valueBlock

Discussion

Sets the callback to invoke if the request succeeds.

Declared In

FMWebSync.h

– setTag:

Sets a tag that uniquely identifies a subscription so other subscriptions with the same channel are not affected.

- (void)setTag:(NSString *)value

Discussion

Sets a tag that uniquely identifies a subscription so other subscriptions with the same channel are not affected.

Declared In

FMWebSync.h

– tag

Gets a tag that uniquely identifies a subscription so other subscriptions with the same channel are not affected.

- (NSString *)tag

Discussion

Gets a tag that uniquely identifies a subscription so other subscriptions with the same channel are not affected.

Declared In

FMWebSync.h

+ unsubscribeArgsWithChannel:

Initializes a new instance of the class.

+ (FMWebSyncUnsubscribeArgs *)unsubscribeArgsWithChannel:(NSString *)channel

Parameters

name="channel">The

channel to unsubscribe.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ unsubscribeArgsWithChannel:tag:

Initializes a new instance of the class.

+ (FMWebSyncUnsubscribeArgs *)unsubscribeArgsWithChannel:(NSString *)channel tag:(NSString *)tag

Parameters

name="channel">The

channel to unsubscribe.

name="tag">The

tag identifying the subscription.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ unsubscribeArgsWithChannels:

Initializes a new instance of the class.

+ (FMWebSyncUnsubscribeArgs *)unsubscribeArgsWithChannels:(NSMutableArray *)channels

Parameters

name="channels">The

channels to unsubscribe.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ unsubscribeArgsWithChannels:tag:

Initializes a new instance of the class.

+ (FMWebSyncUnsubscribeArgs *)unsubscribeArgsWithChannels:(NSMutableArray *)channels tag:(NSString *)tag

Parameters

name="channels">The

channels to unsubscribe.

name="tag">The

tag identifying the subscription.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h