Table of Contents

Enum FromType

Namespace
LibVLCSharp.Shared
Assembly
LibVLCSharp.dll

The FromType enum is used to drive the media creation. A media is usually created using a string, which can represent one of 3 things: FromPath, FromLocation, AsNode.

public enum FromType

Fields

AsNode = 2

Create a media as an empty node with a given name.

FromLocation = 1

Create a media with a certain given media resource location, for instance a valid URL. note To refer to a local file with this function, the file://... URI syntax must be used (see IETF RFC3986). We recommend using FromPath instead when dealing with local files.

FromPath = 0

Create a media for a certain file path.