MediaActivity — @gj-kit/expo-media
A public interface 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 { MediaActivity } from '@gj-kit/expo-media/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 하나의 스팬. 정확히 한 번만 종료되어야 한다(라이브러리 내부 규율 — 소비자 검증 대상 아님). * * `cancel`은 "실패가 아닌 중단"이다: 빈 포스터(전신 uploader.ts:268-271)처럼 사용자에게 * 오류로 보고하면 안 되지만 성공으로 세어서도 안 되는 **3번째 종료 상태**다. * 이 상태가 없으면 포스터 추출이 빈 결과를 낸 경우가 성공률 지표에 섞여 들어간다. */interface MediaActivity { succeed(finish?: MediaActivityFinish | undefined): void; fail(error: unknown, finish?: MediaActivityFinish | undefined): void; cancel(finish?: MediaActivityFinish | undefined): void;}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