uap:LaunchAction (uap:AutoPlayContent 内) (Windows 10)

自動再生コンテンツ アクションについて説明します。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <uap:Extension>

                        <uap:AutoPlayContent>

                             <uap:LaunchAction>

構文

<uap:LaunchAction
  Verb = 'A string with a value between 1 and 64 characters in length that consists of alphanumeric characters, periods ("."), dashes ("-"), and spaces only.'
  ActionDisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
  ContentEvent = 'A string with a value between 1 and 255 characters in length. Backward slashes ("\") are not allowed.' />

属性と要素

属性

属性 説明 データ型 必須 既定値
動詞 起動時にアプリに渡される一意の識別子。 アプリは、この文字列を使用して、起動をトリガーした自動再生ハンドラーを決定できます。 パッケージ内のアプリケーションごとに一意であり、大文字と小文字が区別されます。 英数字、ピリオド ()、ダッシュ (.-)、スペースのみで構成される長さが 1 ~ 64 文字の文字列。 Yes
ActionDisplayName ハンドラーの自動再生ポップアップでユーザーに表示される名前。 長さが 1 ~ 256 文字の値を持つ文字列。 この文字列はローカライズ可能です。 Yes
ContentEvent 拡張ポイントが処理するコンテンツ関連イベントの名前。 詳細については、「 備考」を参照してください。 長さが 1 ~ 255 文字の文字列。 バックスラッシュ (\) は使用できません。 Yes

子要素

なし。

親要素

親要素 説明
uap:AutoPlayContent windows.autoPlayContent 型のアプリ拡張ポイントを宣言します。 アプリは、指定された自動再生コンテンツ アクションを提供します。

次の要素の名前はこれと同じですが、コンテンツまたは属性が異なります:

注釈

ContentEvent には、ボリュームによって定義されたカスタム イベント、または次の既知のイベントのいずれかを指定できます。

  • HandleCDBurningOnArrival
  • HandleDVDBurningOnArrival
  • MixedContentOnArrival
  • PlayBluRayOnArrival
  • PlayCDAudioOnArrival
  • PlayDVDAudioOnArrival
  • PlayDVDMovieOnArrival
  • PlayEnhancedCDOnArrival
  • PlayEnhancedDVDOnArrival
  • PlayMusicFilesOnArrival
  • PlaySuperVideoCDMovieOnArrival
  • PlayVideoCDMovieOnArrival
  • PlayVideoFilesOnArrival
  • ShowPicturesOnArrival
  • StorageOnArrival
  • UnknownContentOnArrival

<uap:Extension
  Category="windows.autoPlayContent">
  <uap:AutoPlayContent>
    <uap:LaunchAction
      Verb="open"
      ActionDisplayName="Display"
      ContentEvent="ShowPicturesOnArrival"/>
  </uap:AutoPlayContent>
</uap:Extension>

関連項目

自動再生のサポート

必要条件

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
Minimum OS Version Windows 10 バージョン 1511 (ビルド 10586)