Versi SDK iOS

FBSDKCameraEffectArguments

@interfaceFBSDKCameraEffectArguments:NSObject<NSCopying,NSObject,NSSecureCoding>
A container of arguments for a camera effect. An argument is a NSString identified by a NSString key.
  • Sets a string argument in the container.

    Declaration

    Objective-C
    -(void)setString:(nullableNSString*)stringforKey:(nonnullNSString*)key;
    Swift
    funcset(_string:String?,forKeykey:String)

    Parameters

  • Gets a string argument from the container.

    Declaration

    Objective-C
    -(nullableNSString*)stringForKey:(nonnullNSString*)key;
    Swift
    funcstring(forKeykey:String)->String?

    Parameters

    Return Value

    The string value or nil
  • Sets a string array argument in the container.

    Declaration

    Objective-C
    -(void)setArray:(nullableNSArray<NSString*>*)arrayforKey:(nonnullNSString*)key;
    Swift
    funcset(_array:[String]?,forKeykey:String)

    Parameters

  • Gets an array argument from the container.

    Declaration

    Objective-C
    -(nullableNSArray<NSString*>*)arrayForKey:(nonnullNSString*)key;
    Swift
    funcarray(forKeykey:String)->[String]?

    Parameters

    Return Value

    The array argument