Share via


uap4:MediaCodec

定義可讓應用程式從 Microsoft Store 安裝媒體編解碼器的延伸模組。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <uap4:Extension>

                        <uap4:MediaCodec>

Syntax

<uap4:MediaCodec
  DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
  Description = 'A string between 1 and 2048 characters in length.'
  Category = 'A string that can have one of the following values: "audioDecoder", "audioEncoder","videoDecoder", or "videoEncoder".'
  AppServiceName = 'An optional string with a value between 2 and 39 characters in length that consists of alphanumeric characters, periods (except for the first character), and dashes only.' 
  wincap3:ActivatableClassId = 'A string with a value between 1 and 255 characters in length.'
  wincap3:Path = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, ", |, ?, or *.'
  wincap3:ProcessorArchitecture = 'A string value that can be one of the following: "x86", "x64", "arm", "arm64", or "neutral".' >

  <!-- Child elements -->
  uap4:MediaEncodingProperties

</uap4:MediaCodec>                   

答案

? 選擇性 (零或一個)

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
DisplayName 轉碼器的易記名稱。 長度介於 1 到 256 個字元之間的字串。 這個字串可當地語系化。
說明 編解碼器的描述。 長度介於 1 到 2048 個字元之間的字串。 Yes
類別 編解碼器的類別。 可具有下列其中一個值的字串:audioDecoderaudioEncodervideoDecoder 或 videoEncoder Yes
AppServiceName 啟動為編解碼器的應用程式服務。 長度介於 2 到 39 個字元之間的選擇性字串,其中包含英數位元、句號 (,但第一個字元) 除外,且僅虛線。 No
rescap3:ActivatableClassId 與此媒體內容相關聯的類別識別碼。 長度介於 1 到 255 個字元之間的字串。 No
rescap3:Path 媒體內容的路徑。 長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、 >"|?* No
rescap3:ProcessorArchitecture 用於媒體內容的處理器架構。 字串值,可以是下列其中一項:x86x64、arm、arm64中性 No

子元素

子項目 描述
MediaEncodingProperties 包含媒體自動程式碼輸入和輸出類型。

父元素

父元素 描述
uap4:Extension 宣告應用程式的擴充點。

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/4
OS 最低版本 Windows 10版本 1703 (組建 15063)