fix: update onError definition to match implementation (#3349)
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
This commit is contained in:
parent
abd73dca4a
commit
fdbd6a6ba8
@ -241,11 +241,21 @@ export type OnReceiveAdEventData = Readonly<{
|
||||
}>;
|
||||
|
||||
export type OnVideoErrorData = Readonly<{
|
||||
errorString: string;
|
||||
errorException: string;
|
||||
errorStackTrace: string;
|
||||
errorCode: string;
|
||||
error: string;
|
||||
error: OnVideoErrorDataDetails;
|
||||
target?: number; // ios
|
||||
}>;
|
||||
|
||||
export type OnVideoErrorDataDetails = Readonly<{
|
||||
errorString?: string; // android
|
||||
errorException?: string; // android
|
||||
errorStackTrace?: string; // android
|
||||
errorCode?: string; // android
|
||||
error?: string; // ios
|
||||
code?: number; // ios
|
||||
localizedDescription?: string; // ios
|
||||
localizedFailureReason?: string; // ios
|
||||
localizedRecoverySuggestion?: string; // ios
|
||||
domain?: string; // ios
|
||||
}>;
|
||||
|
||||
export type OnAudioFocusChangedData = Readonly<{
|
||||
|
@ -118,13 +118,22 @@ export type OnReceiveAdEventData = Readonly<{
|
||||
}>;
|
||||
|
||||
export type OnVideoErrorData = Readonly<{
|
||||
errorString: string;
|
||||
errorException: string;
|
||||
errorStackTrace: string;
|
||||
errorCode: string;
|
||||
error: string;
|
||||
error: OnVideoErrorDataDetails;
|
||||
target?: number; // ios
|
||||
}>;
|
||||
|
||||
export type OnVideoErrorDataDetails = Readonly<{
|
||||
errorString?: string; // android
|
||||
errorException?: string; // android
|
||||
errorStackTrace?: string; // android
|
||||
errorCode?: string; // android
|
||||
error?: string; // ios
|
||||
code?: number; // ios
|
||||
localizedDescription?: string; // ios
|
||||
localizedFailureReason?: string; // ios
|
||||
localizedRecoverySuggestion?: string; // ios
|
||||
domain?: string; // ios
|
||||
}>;
|
||||
export type OnAudioFocusChangedData = Readonly<{
|
||||
hasAudioFocus: boolean;
|
||||
}>;
|
||||
|
Loading…
Reference in New Issue
Block a user