VisionPropertyCollection

protocol VisionPropertyCollection

Represents a collection of properties and their values.

  • Returns the property value for a given key. If the key is not found, it returns the specified value.

    Declaration

    Swift

    func propertyValue(forKey key: String, notFoundValue value: String) -> String?

    Parameters

    key

    property key.

    value

    value which is returned if the property is not available in the collection.

    Return Value

    value of the property.

  • Sets the property string value for a given key.

    Declaration

    Swift

    func setPropertyValue(_ value: String, forKey key: String)

    Parameters

    value

    value of the property.

    key

    property key.