CustomMetadataValue

public protocol CustomMetadataValue : AnyObject

Protocol for storing arbitrary metadata types. By implementing this protocol, multiple object types can be stored as desired, simply by adding fields to the implementation that refer to those objects and then assigning an instance of the CustomMetadataValue derived class to a map item.

  • Obtains a tag that describes the instance of the protocol. The tag is specific to the concrete implementation of the protocol.

    Declaration

    Swift

    func getTag() -> String

    Return Value

    A tag describing the implementation of the protocol.