VideoAttachmentModel class
Model Video
- Inheritance
-
- Object
- AttachmentModel
- CustomAttachmentModel
- VideoAttachmentModel
- Mixed-in types
Constructors
-
VideoAttachmentModel(Map<
String, dynamic> payload)
Properties
- accessKey → String?
-
Attachment access key.
no setterinherited
- addedAt → int?
-
The date the video was added by the user or group in Unixtime format.
no setter
- attachType → String
-
Attachment type.
finalinherited
- balance → int?
-
Donation balance in live broadcast.
no setter
- commentsCount → int?
-
Number of comments on the video. The field is not returned if comments are not available.
no setter
- createdAt → int?
-
The date the video was created in Unixtime format.
no setter
- description → String?
-
Video description text.
no setter
- duration → int?
-
The duration of the video in seconds.
no setter
-
firstFrame
→ List<
VideoFirstFrameImageModel> -
First frame image.
See https://vk.com/dev/objects/video#first_frame
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int?
-
Video height.
no setter
- id → int
-
Attachment ID.
no setterinherited
-
image
→ List<
VideoCoverImageModel> -
Cover image.
See https://dev.vk.com/ru/reference/objects/video#image
no setter
- isAdded → bool?
-
Whether the video has been added to the user's albums.
no setter
- isBroadcast → bool?
-
The field returned if the video is a live broadcast always contains 1. Note that in this case the duration field contains the value 0.
no setter
- isCanAdd → bool?
-
Can a user add a video to himself?
no setter
- isCanAddToFaves → bool?
-
Whether the user can add a video to favorites.
no setter
- isCanAttachLink → bool?
-
Can a user attach an action button to a video.
no setter
- isCanComment → bool?
-
Can a user comment on a video?
no setter
- isCanEdit → bool?
-
Can the user edit the video?
no setter
- isCanLike → bool?
-
Can a user add a video to their "Like" list.
no setter
- isCanRepost → bool?
-
Can a user repost a video?
no setter
- isCanSubscribe → bool?
-
Can a user subscribe to the author of a video?
no setter
- isConverting → bool?
-
Does the video convert?
no setter
- isFavorite → bool?
-
true if the item has been bookmarked by the current user.
no setter
- isLikesCanLike → bool?
-
information about whether the current user can mark "Like";
no setterinherited
- isLikesCanPublish → bool?
-
information about whether the current user can repost the post;
no setterinherited
- isPrivate → bool?
-
The field is returned if the video is private (for example, it was uploaded to a private message), always contains 1.
no setter
- isProcessing → bool?
-
The field is returned if the video is in the process of processing, always contains 1.
no setter
- isRepeat → bool?
-
Field returned if the video is looped, always contains 1
no setter
- isSubscribed → bool?
-
Whether the user is subscribed to the author of the video.
no setter
- isUpcoming → bool?
-
The field indicates that the broadcast will begin soon. For live =1.
no setter
- isUserLikes → bool?
-
the presence of a "like" mark from the current user ;
no setterinherited
- isUserReposted → bool?
-
Indicates whether the current user has reposted the attachment.
no setterinherited
- likesCount → int?
-
the number of users who liked the post;
no setterinherited
- liveStatus → String?
-
Live broadcast status.
Can take the following values: waiting, started, finished, failed, upcoming.
no setter
- localViews → int?
-
If the video is external, the number of views on VKontakte.
no setter
- ownerId → int
-
Attachment owner identifier.
no setterinherited
-
payload
→ Map<
String, dynamic> -
Payload.
finalinherited
- platformName → String?
-
Platform name (for videos added from external sites).
no setter
- player → String?
-
URL of a page with a player that can be used to play the video in the browser.
Flash and HTML5 are supported, the player is always scaled to fit the window.
no setter
- repostsCount → int?
-
the number of reposts;
no setterinherited
- repostsMailCount → int?
-
counter of reposts in personal messages.
no setterinherited
- repostsWallCount → int?
-
repost counter on the wall.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spectatorsCount → int?
-
Number of viewers of the live broadcast.
no setter
- title → String?
-
Title of the video.
no setter
- userId → int?
-
ID of the user who uploaded the video, if it was uploaded to the group by one of the participants.
no setter
- videoType → String?
-
Video type.
Can take values: video, music_video, movie
no setter
- viewsCount → int?
-
Number of video views.
no setter
- width → int?
-
Video width.
no setter
Methods
-
checkBoolInProperty(
String key) → bool? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited