LiveStream class
A liveStream resource contains information about the video stream that you are transmitting to YouTube. The stream provides the content that will be broadcast to YouTube users. Once created, a LiveStreamItem resource can be bound to one or more LiveBroadcastItem resources.
Constructors
- LiveStream(Dio dio)
Properties
- accept → String
-
finalinherited
- contentType → String
-
finalinherited
- dio → Dio
-
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
-
buildParts(
List< String> partList, String part) → String -
inherited
-
delete(
{required String id, String? onBehalfOfContentOwner, String? onBehalfOfContentOwnerChannel}) → Future< void> - Deletes a video stream.
-
insert(
{String part = 'snippet,status,contentDetails', List< String> partList = const [], required Map<String, dynamic> body, String? onBehalfOfContentOwner, String? onBehalfOfContentOwnerChannel}) → Future<LiveStreamItem> - Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience.
-
list(
{String part = 'snippet,status,contentDetails', List< String> partList = const [], String? id, bool? mine, int? maxResults, String? onBehalfOfContentOwner, String? onBehalfOfContentOwnerChannel, String? pageToken}) → Future<LiveStreamListResponse> - Returns a list of video streams that match the API request parameters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{String part = 'snippet,status,contentDetails', List< String> partList = const [], required Map<String, dynamic> body, String? onBehalfOfContentOwner, String? onBehalfOfContentOwnerChannel}) → Future<LiveStreamItem> - Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited