For the complete documentation index, see llms.txt. This page is also available as Markdown.

Environment.deviceId

함수형 API getDeviceId로도 같은 기능을 쓸 수 있어요.

기능 설명

사용 중인 기기의 고유 식별자예요. 기기별 설정 저장·로그 분석·동일 사용자의 여러 기기 구분에 사용할 수 있어요.

상수 값이라 호출 없이 바로 읽어요.

타입

Environment.deviceId: string;

Params

없음

Response

문자열이에요.

예시 코드

import { Environment } from "@apps-in-toss/web-framework";

console.log(Environment.deviceId);

도움이 되었나요?