VoiceLiveModelFactory.VideoBackground(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a video background, either a solid color or an image URL (mutually exclusive).
public static Azure.AI.VoiceLive.VideoBackground VideoBackground(string color = default, string imageUrl = default);
static member VideoBackground : string * string -> Azure.AI.VoiceLive.VideoBackground
Public Shared Function VideoBackground (Optional color As String = Nothing, Optional imageUrl As String = Nothing) As VideoBackground
Parameters
- color
- String
Background color in hex format (e.g., #00FF00FF). Cannot be set if image_url is provided.
- imageUrl
- String
Background image URL. Cannot be set if color is provided.
Returns
A new VideoBackground instance for mocking.