We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 742e5c3 + 413e5ff commit c8a0d24Copy full SHA for c8a0d24
packages/mlkit-core/index.d.ts
@@ -43,6 +43,11 @@ export declare class MLKitView extends MLKitViewBase {
43
requestCameraPermission(): Promise<void>;
44
hasCameraPermission(): boolean;
45
on(event: 'detection', callback: (args: DetectionEvent) => void, thisArg?: any);
46
+ // Needed when 'on' method is overriden.
47
+ /**
48
+ * @hidden
49
+ */
50
+ on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): void;
51
}
52
53
export function detectWithStillImage(image: any, options?: StillImageDetectionOptions): Promise<{ [key: string]: any }>;
0 commit comments