AudioErrorEventInfo

개요

오디오 파일을 정상처리 하지 못했을 때 발생하는 이벤트에 전달되는 EventInfo 오브젝트입니다.

지원 환경

Desktop NRE

Desktop WRE

☐ Windows

☐ macOS

☐ Edge

☐ Chrome

☐ Safari

☐ Firefox

☐ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☐ Android

☐ iOS/iPadOS




- AudioPlayer 또는 AudioRecorder 오브젝트에서 발생하는 이벤트에 전달되는 오브젝트입니다.

속성

currentpos

컴포넌트에서 처리중인 오디오파일의 현재 재생위치를 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☐ Windows

☐ macOS

☐ Edge

☐ Chrome

☐ Safari

☐ Firefox

☐ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☐ Android

☐ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

AudioErrorEventInfo.currentpos

참고

- 처리중인 오디오 파일의 재생위치를 밀리초(milliseconds) 단위의 값으로 갖습니다.

errormsg

발생한 에러에 대한 에러메시지를 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☐ Windows

☐ macOS

☐ Edge

☐ Chrome

☐ Safari

☐ Firefox

☐ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☐ Android

☐ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

AudioErrorEventInfo.errormsg

문법 설정

"00001"

Parameter Error

"1001"

IO Exception File does not exist

"1002"

IO Exception sdcard is not mounted (iOS 제외)

"1003"

Not Supported Audio Format

"1004"

Network is not available

"1005"

Not Reachable

"1006"

Play Section Error (startpos >= stoppos 인 경우)

"1007"

Not Loaded

"1008"

Already playing

"1009"

Not playing

"1010"

Can't resume

"1011"

Not Paused

"1301"

Already recording (AudioRecorder 사용)

"1302"

Not recording

"1303"

Already paused

"1304"

Recording Setting Error (AudioRecorder 사용)

"1305"

Not paused

"1306"

Existing File (AudioRecorder 사용)

errortype

발생한 에러에 대한 에러유형을 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☐ Windows

☐ macOS

☐ Edge

☐ Chrome

☐ Safari

☐ Firefox

☐ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☐ Android

☐ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

AudioErrorEventInfo.errortype

문법 설정

"EvalError"

현재 버전에서 발생하지 않지만 이전 버전과의 호환성을 유지하기 위해 정의

"RangeError"

숫자값이 허용된 범위를 넘어선 경우

"ReferenceError"

참조값이 유효하지 않은 경우

"SyntaxError"

파싱에 문제가 있을 경우

"TypeError"

피연산자의 자료형이 허용된 범위가 아닌 경우

"URIError"

전역 URI 처리 함수 중 하나가 해당 정의와 호환되지 않는 방식으로 사용된 경우

"NativeError"

모든 Native Error 인 경우

"CommunicationError"

통신시 발생한 에러인 경우

"ObjectError"

개별 오브젝트에서 사용하는 에러인 경우

eventid

이벤트의 ID를 갖는 읽기전용 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☐ Windows

☐ macOS

☐ Edge

☐ Chrome

☐ Safari

☐ Firefox

☐ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☐ Android

☐ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

AudioErrorEventInfo.eventid

문법 설정

var strEventid = e.eventid;

참고

- 이벤트에 핸들러로 등록된 함수의 이름이 아닌 발생한 이벤트명을 갖습니다.

statuscode

발생한 에러에 대한 에러코드값을 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☐ Windows

☐ macOS

☐ Edge

☐ Chrome

☐ Safari

☐ Firefox

☐ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☐ Android

☐ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

AudioErrorEventInfo.statuscode

문법 설정

"00001"

Parameter Error

"1001"

IO Exception File does not exist

"1002"

IO Exception sdcard is not mounted (iOS 제외)

"1003"

Not Supported Audio Format

"1004"

Network is not available

"1005"

Not Reachable

"1006"

Play Section Error (startpos >= stoppos 인 경우)

"1007"

Not Loaded

"1008"

Already playing

"1009"

Not playing

"1010"

Can't resume

"1011"

Not Paused

"1301"

Already recording (AudioRecorder 사용)

"1302"

Not recording

"1303"

Already paused

"1304"

Recording Setting Error (AudioRecorder 사용)

"1305"

Not paused

"1306"

Existing File (AudioRecorder 사용)

url

컴포넌트에서 처리중인 오디오파일의 경로를 URL 형태로 갖는 속성입니다.

지원 환경

Desktop NRE

Desktop WRE

☐ Windows

☐ macOS

☐ Edge

☐ Chrome

☐ Safari

☐ Firefox

☐ Opera

Mobile NRE

Mobile WRE

☑ Android

☑ iOS/iPadOS

☐ Android

☐ iOS/iPadOS




속성 타입

☐ Enum

☐ Expr

☐ Control

☐ Hidden

☑ ReadOnly

☐ Bind

☐ Collection

☐ StringResource

문법

AudioErrorEventInfo.url