Versi SDK iOS

FBSDKSwitchContextContent

@interfaceFBSDKSwitchContextContent:NSObject<NSSecureCoding,FBSDKValidatable>
A model for an instant games switchAsync cross play request.
  • Unavailable
    Undocumented

    Declaration

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

    Declaration

    Objective-C
    +(instancetype)newNS_UNAVAILABLE;
  • Builds a content object that will be use to display a switch context dialog

    Declaration

    Objective-C
    -(nonnullinstancetype)initDialogContentWithContextID:(nonnullNSString*)contextID;
    Swift
    init(contextID:String)

    Parameters

  • The context token of the existing context for which this request is being made.

    Declaration

    Objective-C
    @property(nonatomic,copy,readwrite)NSString*_NonnullcontextTokenID;
    Swift
    varcontextTokenID:String{getset}

    Return Value

    The context token of the existing context