VKVideoFilter

@objc
public class VKVideoFilter : NSObject
  • Metadata to filter for, e.g. [“userId”: “12345678”]

    Declaration

    Swift

    public var metadata: [String : String]
  • Tags to filter for, e.g. [“cats”, “dogs”]

    Declaration

    Swift

    public var tags: Set<String>
  • Title of the video

    Declaration

    Swift

    public var title: String
  • Omits content that failed the content filter

    • true will only return videos that passed.
    • false will return only videos that have failed
    • The default (nil) will return all videos.

    Declaration

    Swift

    public var omitUnsafeContent: Bool?
  • Filter by session identity (usually the user id that uploaded the video)

    Declaration

    Swift

    public var identity: String
  • Pagination page

    Declaration

    Swift

    public var page: Int
  • Pagination limit

    Declaration

    Swift

    public var limit: Int
  • Empty initializer

    Declaration

    Swift

    public override init()
  • Initializer

    Declaration

    Swift

    public init(
        withMetadata metadata: [String: String] = [:],
        tags: Set<String> = [],
        title: String = "",
        identity: String = "",
        omitUnsafeContent: Bool? = nil
    )