Class WatermarksResource
The "watermarks" collection of methods.
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class WatermarksResource
Constructors
WatermarksResource(IClientService)
Constructs a new resource.
Declaration
public WatermarksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Set(InvideoBranding, string)
Allows upload of watermark image and setting it for a channel.
Declaration
public virtual WatermarksResource.SetRequest Set(InvideoBranding body, string channelId)
Parameters
Type | Name | Description |
---|---|---|
InvideoBranding | body | The body of the request. |
string | channelId |
|
Returns
Type | Description |
---|---|
WatermarksResource.SetRequest |
Set(InvideoBranding, string, Stream, string)
Allows upload of watermark image and setting it for a channel.
Declaration
public virtual WatermarksResource.SetMediaUpload Set(InvideoBranding body, string channelId, Stream stream, string contentType)
Parameters
Type | Name | Description |
---|---|---|
InvideoBranding | body | The body of the request. |
string | channelId |
|
Stream | stream | The stream to upload. See remarks for further information. |
string | contentType | The content type of the stream to upload. |
Returns
Type | Description |
---|---|
WatermarksResource.SetMediaUpload |
Remarks
Considerations regarding stream
:
-
If
stream
is seekable, then the stream position will be reset to0
before reading commences. Ifstream
is not seekable, then it will be read from its current position -
Caller is responsible for maintaining the
stream
open until the upload is completed - Caller is responsible for closing the
stream
Unset(string)
Allows removal of channel watermark.
Declaration
public virtual WatermarksResource.UnsetRequest Unset(string channelId)
Parameters
Type | Name | Description |
---|---|---|
string | channelId |
|
Returns
Type | Description |
---|---|
WatermarksResource.UnsetRequest |