Capabilities Class
avHardwareDisable |
사용자의 카메라와 마이크에 대한 액세스가 금지되었는지( Adobe AIR™에 있는 내용의 경우 이 속성은 응용 프로그램 보안 샌드박스가 아닌 보안 샌드박스의 내용에만 적용됩니다. 응용 프로그램 보안 샌드박스의 내용은 항상 사용자의 카메라 및 마이크에 액세스할 수 있습니다. Specifies whether access to the user's camera and microphone has been administratively prohibited (true) or allowed (false). |
cpuArchitecture |
현재 CPU 아키텍처를 지정합니다. |
hasAccessibility |
시스템에서 액세스 가능성 도구와의 통신을 지원하는지( Specifies whether the system supports (true) or does not support (false) communication with accessibility aids. |
hasAudio |
시스템에 오디오 기능이 있는지 여부를 지정합니다. 이 속성은 항상 Specifies whether the system has audio capabilities. |
hasAudioEncoder |
시스템에서 마이크 입력 등의 오디오 스트림을 인코딩할 수 있는지( Specifies whether the system can (true) or cannot (false) encode an audio stream, such as that coming from a microphone. |
hasEmbeddedVideo |
시스템에서 포함된 비디오를 지원하는지( Specifies whether the system supports (true) or does not support (false) embedded video. |
hasIME |
시스템에 IME가 설치되어 있는지( Specifies whether the system does (true) or does not (false) have an input method editor (IME) installed. |
hasMP3 |
시스템에 MP3 디코더가 있는지( Specifies whether the system does (true) or does not (false) have an MP3 decoder. |
hasPrinting |
시스템에서 인쇄를 지원하는지( Specifies whether the system does (true) or does not (false) support printing. |
hasScreenBroadcast |
시스템에서 Flash Media Server를 통해 실행되는 스크린 브로드캐스트 응용 프로그램 개발을 지원하는지( |
hasScreenPlayback |
시스템에서 Flash Media Server를 통해 실행되는 스크린 브로드캐스트 응용 프로그램의 재생을 지원하는지( Specifies whether the system does (true) or does not (false) support the playback of screen broadcast applications that are being run through Flash Media Server. |
hasStreamingAudio |
시스템에서 스트리밍 오디오를 재생할 수 있는지( Specifies whether the system can (true) or cannot (false) play streaming audio. |
hasStreamingVideo |
시스템에서 스트리밍 비디오를 재생할 수 있는지( Specifies whether the system can (true) or cannot (false) play streaming video. |
hasTLS |
시스템에서 NetConnection을 통한 기본 SSL 소켓을 지원하는지( |
hasVideoEncoder |
시스템에서 웹 카메라 입력 등의 비디오 스트림을 인코딩할 수 있는지( |
isDebugger |
시스템이 특수 디버깅 버전인지( |
isEmbeddedInAcrobat |
Flash 런타임이 Acrobat 9.0 이상에서 열리는 PDF 파일에 포함되어 있는지( Specifies whether the Flash runtime is embedded in a PDF file that is open in Acrobat 9.0 or higher (true) or not (false). |
language |
내용이 실행되는 시스템의 언어 코드를 지정합니다. 언어는 ISO 639-1에 소문자로 지정된 두 글자 언어 코드로 지정됩니다. 중국어의 경우 ISO 3166의 대문자로 된 두 글자 국가 코드가 추가되어 중국어 간체와 번체가 구별됩니다. 언어 코드는 해당 언어의 영어 이름에 기초합니다. 예를 들어 헝가리어는 영어 시스템에서 이 속성은 국가 코드가 아닌 언어 코드( 참고: 서버 문자열은 Specifies the language code of the system on which the content is running. |
localFileReadDisable |
사용자의 하드 디스크에 대한 읽기 액세스를 금지되었는지( 이 속성이 서버 문자열은 Specifies whether read access to the user's hard disk has been administratively prohibited (true) or allowed (false). |
manufacturer |
실행 중인 버전의 Flash Player 또는 AIR 런타임 제조업체를 보다 구체적인 capability 속성이 존재하는 경우 운영 체제에 기반한 기능을 확인하기 위해 Specifies the manufacturer of the running version of Flash Player or the AIR runtime, in the format "Adobe OSName". |
maxLevelIDC |
클라이언트 하드웨어가 지원하는 최상의 H.264 수준 IDC를 검색합니다. 이 수준에서 미디어를 실행하면 항상 실행되지만 최상의 수준에서 미디어를 실행하면 최상의 품질로 실행되지 않을 수도 있습니다. 이 속성은 클라이언트의 기능을 대상으로 지정하는 서버에 유용합니다. 이 속성을 사용하면 서버에서 클라이언트에 보낼 비디오의 수준을 결정할 수 있습니다. 서버 문자열은 Retrieves the highest H.264 Level IDC that the client hardware supports. |
os |
현재 운영 체제를 지정합니다. Specifies the current operating system. |
pixelAspectRatio |
스크린의 픽셀 종횡비를 지정합니다. 서버 문자열은 Specifies the pixel aspect ratio of the screen. |
playerType |
런타임 환경의 유형을 지정합니다. 이 속성은 다음 값 중 하나를 가질 수 있습니다.
서버 문자열은 Specifies the type of runtime environment. |
screenColor |
스크린 색상을 지정합니다. 이 속성의 값은 Specifies the screen color. |
screenDPI |
스크린의 dpi(인치당 도트 수) 해상도를 픽셀 단위로 지정합니다. 서버 문자열은 Specifies the dots-per-inch (dpi) resolution of the screen, in pixels. |
screenResolutionX |
스크린의 최대 수평 해상도를 지정합니다. 서버 문자열은 화면의 폭과 높이를 모두 반환하는 |
screenResolutionY |
스크린의 최대 수직 해상도를 지정합니다. 서버 문자열은 화면의 폭과 높이를 모두 반환하는 Specifies the maximum vertical resolution of the screen. |
serverString |
각 Capabilities 속성의 값을 지정하는 URL 인코딩 문자열입니다. A URL-encoded string that specifies values for each Capabilities property. |
supports32BitProcesses |
시스템이 32비트 프로세스 실행을 지원하는지 여부를 지정합니다. 서버 문자열은 Specifies whether the system supports running 32-bit processes. |
supports64BitProcesses |
시스템이 64비트 프로세스 실행을 지원하는지 여부를 지정합니다. 서버 문자열은 Specifies whether the system supports running 64-bit processes. |
touchscreenType |
지원되는 터치 스크린이 있는 경우 터치 스크린의 유형을 지정합니다. 값이 flash.system.TouchscreenType 클래스에 정의됩니다. Specifies the type of touchscreen supported, if any. |
version |
Flash Player 또는 Adobe® AIR® 플랫폼 및 버전 정보를 지정합니다. 버전 번호의 형식은 platform majorVersion,minorVersion,buildNumber,internalBuildNumber입니다. platform에 사용할 수 있는 값은 Specifies the Flash Player or Adobe® AIR® platform and version information. |
*source : http://help.adobe.com/ko_KR/FlashPlatform/reference/actionscript/3/flash/system/Capabilities.html
*source code : CapabilitiesExample.fxp
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955"
minHeight="600"
backgroundColor="#aaaaaa"
>
<fx:Script>
<![CDATA[
/* http://storyjava.tistory.com
* code5381@hotmail.com
* KevinKim
*/
import mx.controls.Alert;
private function show():void
{
Alert.show("Capabilities.avHardwareDisable : " + Capabilities.avHardwareDisable.toString()
+ "\n cpuArchitecture : " + Capabilities.cpuArchitecture
+ "\n hasAccessibility: " + Capabilities.hasAccessibility.toString()
+ "\n hasAudio: " + Capabilities.hasAudio.toString()
+ "\n hasAudioEncoder: " + Capabilities.hasAudioEncoder.toString()
+ "\n hasEmbeddedVideo: " + Capabilities.hasEmbeddedVideo.toString()
+ "\n hasIME: " + Capabilities.hasIME.toString()
+ "\n hasMP3: " + Capabilities.hasMP3.toString()
+ "\n hasPrinting: " + Capabilities.hasPrinting.toString()
+ "\n hasScreenBroadcast: " + Capabilities.hasScreenBroadcast.toString
+ "\n hasScreenPlayback: " + Capabilities.hasScreenPlayback.toString()
+ "\n hasStreamingAudio: " + Capabilities.hasStreamingAudio.toString()
+ "\n hasStreamingVideo: " + Capabilities.hasStreamingVideo.toString()
+ "\n hasTLS: " + Capabilities.hasTLS.toString()
+ "\n hasVideoEncoder: " + Capabilities.hasVideoEncoder.toString()
+ "\n isDebugger: " + Capabilities.isDebugger.toString()
+ "\n isEmbeddedInAcrobat: " + Capabilities.isEmbeddedInAcrobat.toString()
+ "\n language: " + Capabilities.language
+ "\n localFileReadDisable: " + Capabilities.localFileReadDisable.toString()
+ "\n manufacturer: " + Capabilities.manufacturer
+ "\n maxLevelIDC: " + Capabilities.maxLevelIDC
+ "\n os: " + Capabilities.os
+ "\n pixelAspectRatio: " + Capabilities.pixelAspectRatio.toString()
+ "\n playerType: " + Capabilities.playerType
+ "\n playerType: " + Capabilities.screenColor
+ "\n screenDPI: " + Capabilities.screenDPI.toString()
+ "\n screenDPI: " + Capabilities.screenResolutionX.toString()
+ "\n screenResolutionY: " + Capabilities.screenResolutionY.toString()
+ "\n serverString: " + Capabilities.serverString
+ "\n supports32BitProcesses: " + Capabilities.supports32BitProcesses.toString()
+ "\n supports64BitProcesses: " + Capabilities.supports64BitProcesses.toString()
+ "\n touchscreenType: " + Capabilities.touchscreenType
+ "\n version: " + Capabilities.version
);
}
]]>
</fx:Script>
<s:Button label="Show System Info" click="show();"/>
</s:Application>