Contents

addStringParameter(withName:parameterID:defaultValue:parameterFlags:)

Creates a string parameter and adds it to the plug-in’s parameter list.

Declaration

func addStringParameter(withName name: String, parameterID: UInt32, defaultValue: String, parameterFlags flags: FxParameterFlags) -> Bool

Parameters

  • name:

    Name of the parameter in the user interface.

  • parameterID:

    Unique identifier for a parameter. Used to retrieve, set, or validate the parameter.

  • defaultValue:

    Initial value for the parameter.

  • flags:

    Flags that encode various state values for the parameter.

Return Value

Returns YES if the application successfully creates a string parameter; NO otherwise.

See Also

Instance Methods