VideoService class base

app.bsky.video.*

Constructors

VideoService(ServiceContext ctx)

Properties

ctx ServiceContext
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

abortUpload({required String jobId, String? $service, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VideoAbortUploadOutput>>
Abort an upload only while it is created, releasing its quota reservation immediately. Terminal sessions are unchanged and return their terminal outcome. A finishing session returns UploadNotReady.
finishUpload({required String jobId, String? $service, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VideoFinishUploadOutput>>
Finish an upload. This call is idempotent and safe to retry. On deduplication completedJobId may differ from the input jobId; poll getJobStatus with completedJobId. Probe-based validation failures surface later as JOB_STATE_FAILED from getJobStatus, not as errors from this call.
getJobStatus({required String jobId, String? $service, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VideoGetJobStatusOutput>>
Get status details for a video processing job.
getUploadLimits({String? $service, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VideoGetUploadLimitsOutput>>
Get video upload limits for the authenticated user.
getUploadStatus({required String jobId, String? $service, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VideoGetUploadStatusOutput>>
Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startUpload({required int sizeBytes, required String mimeType, String? name, int? durationMs, int? width, int? height, String? $service, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<VideoStartUploadOutput>>
Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload.
toString() String
A string representation of this object.
inherited
uploadPart({required Uint8List bytes, String? $service, Map<String, String>? $headers, Map<String, String>? $parameters}) Future<XRPCResponse<VideoUploadPartOutput>>
Upload one part. Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients.
uploadVideo({required Uint8List bytes, String? $service, Map<String, String>? $headers, Map<String, String>? $parameters}) Future<XRPCResponse<JobStatus>>
Upload a video to be processed then stored on the PDS.

Operators

operator ==(Object other) bool
The equality operator.
inherited