iOS SDK 버전

FBSDKShareMediaContent

@interfaceFBSDKShareMediaContent:NSObject<FBSDKSharingContent>
A model for media content (photo or video) to be shared.
  • Media to be shared.

    Declaration

    Objective-C
    @property(nonatomic,copy,readwrite)NSArray<id<FBSDKShareMedia>>*_Nonnullmedia;
    Swift
    varmedia:[ShareMedia]{getset}

    Return Value

    Array of the media (FBSDKSharePhoto or FBSDKShareVideo)
  • Compares the receiver to another media content.

    Declaration

    Objective-C
    -(BOOL)isEqualToShareMediaContent:(nonnullFBSDKShareMediaContent*)content;
    Swift
    funcisEqual(tocontent:ShareMediaContent)->Bool

    Parameters

    Return Value

    YES if the receiver’s values are equal to the other content’s values; otherwise NO