Show / Hide Table of Contents

Class WatermarksResource

The "watermarks" collection of methods.

Inheritance
object
WatermarksResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

null

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

null

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 to 0 before reading commences. If stream 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

null

Returns
Type Description
WatermarksResource.UnsetRequest
In this article
Back to top Generated by DocFX