PoTorrentData
Porla-specific data for a torrent, such as category, tags and session.
Properties
category: string
v1.0
Gets or sets the category.
session: PoSessionHandle
v1.0
Gets the PoSessionHandle for the torrent that this torrent data is associated with.
Methods
add_tag(tag: string): void
v1.0
Adds a tag.
has_tag(tag: string): boolean
v1.0
Returns true if the given tag exists.
remove_tag(tag: string)
v1.0
Removes the given tag.
tags(): string[]
v1.0
Returns a string array of all the tags.