Native Media Player
Search Results for

    Show / Hide Table of Contents

    Class Artwork

    Represents the artwork for a media item.
    This class can be used to store the artwork as a Sprite, and it can also handle the conversion to and from Base64 strings for serialization.
    It supports different image types to determine how the image data should be handled when sending it to the native player.

    Inheritance
    object
    Artwork
    Namespace: Glitch9.NativeMediaPlayer
    Assembly: .dll
    Syntax
    [Serializable]
    public class Artwork

    Fields

    | Edit this page View Source

    base64

    Declaration
    public string base64
    Field Value
    Type Description
    string
    | Edit this page View Source

    imageType

    Declaration
    public ImageType imageType
    Field Value
    Type Description
    ImageType
    | Edit this page View Source

    persistentDataPath

    Declaration
    public string persistentDataPath
    Field Value
    Type Description
    string
    | Edit this page View Source

    sprite

    Declaration
    public Sprite sprite
    Field Value
    Type Description
    Sprite
    | Edit this page View Source

    streamingAsset

    Declaration
    public UnityEngine.Object streamingAsset
    Field Value
    Type Description
    Object
    | Edit this page View Source

    streamingAssetsPath

    Declaration
    public string streamingAssetsPath
    Field Value
    Type Description
    string

    Operators

    | Edit this page View Source

    implicit operator Sprite(Artwork)

    Declaration
    public static implicit operator Sprite(Artwork artwork)
    Parameters
    Type Name Description
    Artwork artwork
    Returns
    Type Description
    Sprite
    | Edit this page View Source

    implicit operator Artwork(Sprite)

    Declaration
    public static implicit operator Artwork(Sprite sprite)
    Parameters
    Type Name Description
    Sprite sprite
    Returns
    Type Description
    Artwork
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX