Group

@objc(PESDKGroup)
open class Group : NSObject

This class can be used to group multiple assets together in the user interace. Currently only filters are supported. For more details see FilterToolControllerOptions.filterGroups.

  • The identifier of this group. This must be unique.

    Declaration

    Swift

    public let identifier: String
  • The display name of this group.

    Declaration

    Swift

    public let displayName: String
  • A thumbnail image representing this group.

    Declaration

    Swift

    public let thumbnail: UIImage?
  • The identifiers of this group’s members.

    Declaration

    Swift

    public let memberIdentifiers: [String]
  • Creates a new group to group multiple assets together.

    Declaration

    Swift

    public init(identifier: String, displayName: String, thumbnail: UIImage?, memberIdentifiers: [String])

    Parameters

    identifier

    The identifier of this group. This must be unique.

    displayName

    The display name of this group.

    thumbnail

    A thumbnail image representing this group.

    memberIdentifiers

    The identifiers of this group’s members.