uap:LaunchAction(uap:AutoPlayDevice)(Windows 10)

자동 실행 디바이스 동작에 대해 설명합니다.

요소 계층 구조

<패키지>

    <애플리케이션>

         <애플리케이션>

              <확장>

                   <uap:Extension>

                        <uap:AutoPlayDevice>

                             <uap:LaunchAction>

구문

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

특성 및 요소

특성

attribute Description 데이터 형식 필수 기본값
ActionDisplayName 처리기의 자동 실행 플라이아웃에서 사용자에게 표시되는 이름입니다. 이 문자열은 지역화할 수 있습니다. 길이가 1~256자인 문자열입니다. Yes
DeviceEvent 확장성 지점에서 처리하는 디바이스 관련 이벤트의 이름입니다. 자세한 내용은 비고를 참조하세요. 길이가 1~255자인 문자열입니다. 뒤로 슬래시(\)는 허용되지 않습니다. Yes
동사 앱이 시작될 때 앱에 전달된 고유 식별자입니다. 앱은 이 문자열을 사용하여 시작을 트리거한 자동 실행 처리기를 결정합니다. 패키지의 앱별로 고유하며 대/소문자를 구분합니다. 문자, 마침표, 대시 및 공백으로만 구성된 길이가 1~64자인 문자열입니다. Yes

자식 요소

없음

부모 요소

부모 요소 Description
uap:AutoPlayDevice windows.autoPlayDevice 형식의 앱 확장 지점을 선언합니다. 앱은 지정된 자동 실행 디바이스 작업을 제공합니다.

다음 요소는 이 요소와 이름이 같지만 콘텐츠나 특성은 다릅니다.

설명

ContentEvent 는 디바이스에 대해 정의된 사용자 지정 이벤트일 수 있습니다. WPD 디바이스의 경우 ContentEvent 는 다음과 같은 잘 알려진 이벤트 중 하나일 수 있습니다.

  • WPD\AudioSource
  • WPD\ImageSource
  • WPD\VideoSource

예제

<uap:Extension Category="windows.autoPlayDevice">
  <uap:AutoPlayContent>
    <uap:LaunchAction Verb="import" ActionDisplayName="Import" ContentEvent="WPD\ImageSource"/>
  </uap:AutoPlayContent>
</uap:Extension>

요구 사항

항목
네임스페이스 http://schemas.microsoft.com/appx/manifest/uap/windows10
Minimum OS Version Windows 10 버전 1511(빌드 10586)