Version du SDK iOS

FBSDKReferralCode

Deprecated
FBSDKReferralCode is deprecated and will be removed in the next major release
@interfaceFBSDKReferralCode:NSObject
Represent a referral code used in the referral process
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    -(instancetype)initNS_UNAVAILABLE;
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    +(instancetype)newNS_UNAVAILABLE;
  • The string value of the referral code

    Declaration

    Objective-C
    @property(nonatomic,assign,unsafe_unretained,readwrite)NSString*_Nonnullvalue;
    Swift
    varvalue:String{getset}
  • 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.

    Declaration

    Objective-C
    +(nullableinstancetype)initWithString:(nonnullNSString*)string;
    Swift
    classfuncinitWith(_string:String)->Self?

    Parameters