Table of Contents

Class AssetVideoParams

Namespace
VpnHood.AppLib.App.Android.Activities
Assembly
VpnHood.AppLib.App.Android.dll

Represents what AssetVideoActivity shows: the video, the colour around it, and the words of its buttons.

public sealed class AssetVideoParams
Inheritance
AssetVideoParams
Inherited Members

Properties

ActionText

Gets the words of the button beside Close, whose action is the caller's.

public required string ActionText { get; init; }

Property Value

string

AssetPath

Gets the video: a stored, not deflated, entry of the package's assets, as ads/film.mp4.

public required string AssetPath { get; init; }

Property Value

string

BackgroundColor

Gets the colour of the screen around the video, where its shape is not the screen's; a dark one, as the controls are white.

public required Color BackgroundColor { get; init; }

Property Value

Color

CanCloseEarly

Gets a value indicating whether the close mark and Back work from the start, as a debug build's way past the wait.

public bool CanCloseEarly { get; init; }

Property Value

bool

CloseText

Gets the Close button's words.

public required string CloseText { get; init; }

Property Value

string