Share via


VideoBackground Class

Definition

Defines a video background, either a solid color or an image URL (mutually exclusive).

public class VideoBackground : System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.VideoBackground>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.VideoBackground>
type VideoBackground = class
    interface IJsonModel<VideoBackground>
    interface IPersistableModel<VideoBackground>
Public Class VideoBackground
Implements IJsonModel(Of VideoBackground), IPersistableModel(Of VideoBackground)
Inheritance
VideoBackground
Implements

Constructors

VideoBackground()

Initializes a new instance of VideoBackground.

Properties

Color

Background color in hex format (e.g., #00FF00FF). Cannot be set if image_url is provided.

ImageUrl

Background image URL. Cannot be set if color is provided.

Methods

JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VideoBackground>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VideoBackground>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VideoBackground>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VideoBackground>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VideoBackground>.Write(ModelReaderWriterOptions)

Applies to