GetSocialActionButton Class Reference

Inherits from NSObject
Declared in GetSocialActionButton.h

Overview

Action button class.

Properties and Methods

@property title

Button’s title.

@property (nonatomic, strong, readonly) NSString *title

Declared In

GetSocialActionButton.h

@property actionId

Button’s action id.

@property (nonatomic, strong, readonly) GetSocialActionId actionId

Declared In

GetSocialActionButton.h

+ createWithTitle:andActionId:

Creates a new GetSocialActionButton instance using the provided parameters.

+ (instancetype)createWithTitle:(NSString *)title andActionId:(GetSocialActionId)actionId

Parameters

title

button’s title

actionId

button’s action

Declared In

GetSocialActionButton.h

Constants

GetSocialActionId

Possible action ids to assign to a button.

typedef NSString* GetSocialActionId NS_EXTENSIBLE_STRING_ENUM;

Defined Values

// Consume action id.
extern GetSocialActionId GetSocialActionIdConsume;
// Ignore action id.
extern GetSocialActionId GetSocialActionIdIgnore;