VimeoRestrictedException class
The video exists but cannot be played by this client.
Vimeo returns the same status for several distinct situations — a private video, an embed restricted to specific domains, or a password-protected video — and does not tell us which. statusCode is preserved so callers can log the specifics.
- Inheritance
-
- Object
- VimeoException
- VimeoRestrictedException
Constructors
- VimeoRestrictedException(String videoId, int statusCode)
-
Creates a restricted-video error for
videoIdwithstatusCode.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A short, user-presentable description of what went wrong.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
The HTTP status Vimeo responded with.
final
- videoId → String
-
The video id that was refused.
final
Methods
-
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