Native Media Player
Search Results for

    Show / Hide Table of Contents

    Enum ImageType

    Represents how the image data will transfer to the native side.
    This is used to determine how the image data should be handled when sending it to the native player.

    • Base64: The image data is encoded as a Base64 string.
    • StreamingAssets: The image is loaded from the StreamingAssets folder.
    • PersistentDataPath: The image is loaded from the PersistentDataPath folder.
    Namespace: Glitch9.NativeMediaPlayer
    Assembly: .dll
    Syntax
    public enum ImageType

    Fields

    Name Description
    Base64

    The image data is encoded as a Base64 string.
    This is the default type and is used when the image is small enough to be encoded.

    PersistentDataPath

    The image will be copied to the PersistentDataPath folder, and the path will be sent to the native player.
    The native player will then load the image from the PersistentDataPath folder.

    StreamingAssets

    The image will be copied to the StreamingAssets folder, and the path will be sent to the native player.
    The native player will then load the image from the StreamingAssets folder.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX