Api.showToast()

토스트 메시지를 표시합니다.

구문

JavaScript

Api.showToast(content);
Api.showToast(content, length);

매개변수

content String

표시할 토스트 메시지의 내용

length Number 선택적

토스트 메시지의 유지 시간을 나타내는 상수

기본값
android.widget.Toast.LENGTH_SHORT = 0 (0x00000000)

호환성

showToast