iOS SDK Version

FBSDKCameraEffectArguments

@interfaceFBSDKCameraEffectArguments:NSObject<FBSDKCopying,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

    string
    The argument
    key
    The key for the argument
  • Gets a string argument from the container.

    Declaration

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

    Parameters

    key
    The key for the argument

    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

    array
    The array argument
    key
    The key for the argument
  • Gets an array argument from the container.

    Declaration

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

    Parameters

    key
    The key for the argument

    Return Value

    The array argument