디바이스 모델 | 앱 기본 정보 및 환경체크 | Appbox Android SDK 가이드

디바이스 모델

기기 모델명을 조회합니다. 특정 모델 이슈 대응이나 기기별 최적화에 사용합니다.

getDeviceModel(callback)

호출 형태: 패턴 A(인자 없는 값 조회).

디바이스 모델 가져오기

AppBox.getDeviceModel(callback)

Kotlin
1 AppBox.getDeviceModel { value, error ->
2 if (error != null) return@getDeviceModel
3 Log.d("AppBox", value.toString())
4 }
1 AppBox.getDeviceModel((value, error) -> {
2 if (error != null) return;
3 Log.d("AppBox", String.valueOf(value));
4 });

Request 항목 정의

Request 항목필수여부설명기본값
--별도 요청 항목 없음-


Response 항목 정의

Response 결과값
값기기 모델명 (String)


Build.MODEL 값입니다. 마케팅 제품명과 다를 수 있습니다.

웹 브릿지에서는 디바이스 모델의 application.getDeviceModel입니다.

www.naver.com
QR 코드를 촬영하면 입력하신 주소의
앱 예시 화면을 테스트할 수 있습니다.
* 스캔 후 바로 앱 다운로드 이동합니다.