File was renamed from frameworks/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h |
| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "TargetConditionals.h" |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import <FBSDKShareKit/FBSDKShareConstants.h> |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | A base interface for Messenger share action buttons. |
| | | */ |
| | | DEPRECATED_FOR_MESSENGER |
| | | NS_SWIFT_NAME(ShareMessengerActionButton) |
| | | @protocol FBSDKShareMessengerActionButton <FBSDKCopying, NSSecureCoding> |
| | | Represent a referral code used in the referral process |
| | | */ |
| | | NS_SWIFT_NAME(ReferralCode) |
| | | @interface FBSDKReferralCode : NSObject |
| | | |
| | | - (instancetype)init NS_UNAVAILABLE; |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | | |
| | | /** |
| | | The title displayed to the user for the button. |
| | | @return The title for the button. |
| | | */ |
| | | @property (nonatomic, copy) NSString *title; |
| | | The string value of the referral code |
| | | */ |
| | | @property NSString *value; |
| | | |
| | | /** |
| | | Initializes a new instance if the referral code is valid. Otherwise returns nil. |
| | | A code is valid if it is non-empty and contains only alphanumeric characters. |
| | | @param string the raw string referral code |
| | | */ |
| | | + (nullable instancetype)initWithString:(NSString *)string; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |