VKVideoAPI
@objc
public class VKVideoAPI : NSObject
-
Declaration
Swift
@objc public static let shared: VKVideoAPI
-
Declaration
Swift
@objc public func video(by videoID: String, completion: @escaping VKVideoRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func videosCount(byTags tags: Set<String>, metadata: [String : String], completion: @escaping VKVideosCountRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func videos(byFilter filter: VKVideoFilter, sortOrder: String = "asc", completion: @escaping VKVideosRequestCompletionBlock) -> VKCancellable
-
Parameters seem to be passed as a GET query and Bool is not supported
Declaration
Swift
@objc public func videos(byTags tags: Set<String> = [], metadata: [String : String] = [:], page: Int = 1, perPage: Int = 20, sortOrder: String = "asc", completion: @escaping VKVideosRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func videos(byIdentity identity: String, page: Int = 1, perPage: Int = 20, sortOrder: String = "asc", completion: @escaping VKVideosRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func videos(byIds ids: Array<String>, completion: @escaping VKVideosRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func delete(by videoID: String, completion: @escaping VKRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func syncVideos(with date: Date, tags: Set<String>, metadata: [String : String], completion: @escaping VKRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func updateVideo(by videoID: String, mp4Resolutions: [String], fromObject: AnyObject, completion: @escaping VKVideoRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func updateVideo(by videoID: String, parameters: [String : Any], fromObject: AnyObject, completion: @escaping VKVideoRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func createVideo(videoID: String, title: String, date: Date, location: CLLocation, height: Int, width: Int, tags: Set<String>, metadata: [String : String], fromObject: AnyObject, completion: @escaping VKVideoRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func createVideo(title: String, date: Date, location: CLLocation, height: Int, width: Int, tags: Set<String>, metadata: [String : String], fromObject: AnyObject, completion: @escaping VKVideoRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func startConvertingVideo(by videoID: String, mediaPath: String, fromObject: AnyObject, completion: @escaping VKRequestCompletionBlock) -> VKCancellable
-
Declaration
Swift
@objc public func uploadingURLs(for videoID: String, isImported: Bool, fromObject: Any, completion: @escaping VKRequestCompletionBlock) -> VKCancellable