detectMediaContentType — @gj-kit/expo-media
A public function from @gj-kit/expo-media/core. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { detectMediaContentType } from '@gj-kit/expo-media/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 엄격 감지 — MIME도 확장자도 지원 형식을 지목하지 못하면 `null`. * * 전신 주석의 계약 원문: * "잘못 라벨링하면 데이터가 손상되는 곳(예: 백그라운드 동기화 스캐너)에는 이 엄격 감지를 쓰고, * `infer*` 폴백은 **OS가 종류를 이미 보장하는 곳**(카메라·피커 출력)에만 쓴다." */declare function detectMediaContentType(mime?: string | null, nameOrUri?: string | null): MediaContentType | null;This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-media - Version:
0.6.1 - Public entry:
./core - Source: GitHub