foo-webview-sdk
    Preparing search index...

    Class FbFileInfo

    FbFileInfo — meta + technical-info accessor.

    Wraps the JSON envelope returned by metadata.read so SMP-style scripts can use MetaCount / MetaFind(name) / MetaValue(...) to inspect tags, and InfoCount / InfoFind(name) / InfoValue(idx) for technical info (codec / sample rate / etc.).

    Lookups are case-insensitive to match the SMP runtime behaviour.

    Index
    • Get the name of the technical info field at the given zero-based index.

      Parameters

      • index: number

      Returns string

    • Get the value of the technical info field at the given zero-based index.

      Parameters

      • index: number

      Returns string

    • Get the name of the meta tag at the given zero-based index.

      Parameters

      • index: number

      Returns string

    • Read the valueIndex-th value of meta field index.

      Parameters

      • index: number
      • valueIndex: number

      Returns string

    • Number of distinct values stored under MetaName(index).

      Parameters

      • index: number

      Returns number