@@ -7,14 +7,24 @@ export namespace BugReporting {
77 function setEnabled ( isEnabled : boolean ) : void ;
88 function setInvocationEvents ( invocationEvents : invocationEvent [ ] ) : void ;
99 function setInvocationOptions ( invocationOptions : invocationOptions [ ] ) : void ;
10+ function setOptions ( options : invocationOptions [ ] ) : void ;
1011 function onInvokeHandler ( handler : ( ) => void ) : void ;
11- function onReportSubmitHandler ( preSendingHandler : ( ) => void ) : void ;
1212 function onSDKDismissedHandler (
1313 handler : ( dismiss : dismissType , report : reportType ) => void
1414 ) : void ;
1515 function setDidSelectPromptOptionHandler (
1616 didSelectPromptOptionHandler : ( ) => void
1717 ) : void ;
18+ function setFloatingButtonEdge (
19+ floatingButtonEdge : number ,
20+ offsetFromTop : number
21+ ) : void ;
22+ function setEnabledAttachmentTypes (
23+ screenshot : boolean ,
24+ extraScreenshot : boolean ,
25+ galleryImage : boolean ,
26+ screenRecording : boolean
27+ ) : void ;
1828 function setShakingThresholdForiPhone ( iPhoneShakingThreshold : number ) : void ;
1929 function setShakingThresholdForiPad ( iPadShakingThreshold : number ) : void ;
2030 function setShakingThresholdForAndroid ( androidThreshold : number ) : void ;
@@ -24,8 +34,11 @@ export namespace BugReporting {
2434 function setReportTypes ( types : reportType [ ] ) : void ;
2535 function showWithOptions ( type : reportType , options : option [ ] ) : void ;
2636 function show ( type : reportType , options : option [ ] ) : void ;
27- function setAutoScreenRecordingEnabled ( isEnabled : boolean ) : void ;
28- function setViewHierarchyEnabled ( isEnabled : boolean ) : void ;
37+ function setAutoScreenRecordingEnabled ( autoScreenRecordingEnabled : boolean ) : void ;
38+ function setAutoScreenRecordingMaxDuration (
39+ autoScreenRecordingMaxDuration : number
40+ ) : void ;
41+ function setViewHierarchyEnabled ( viewHierarchyEnabled : boolean ) : void ;
2942 enum invocationEvent {
3043 none ,
3144 shake ,
@@ -62,7 +75,7 @@ export namespace Chats {
6275}
6376export namespace CrashReporting {
6477 function setEnabled ( isEnabled : boolean ) : void ;
65- function reportJSException ( Exception : object ) : void ;
78+ function reportJSException ( errorObject : object ) : void ;
6679}
6780export namespace FeatureRequests {
6881 function setEmailFieldRequired (
@@ -72,8 +85,6 @@ export namespace FeatureRequests {
7285 function setEnabled ( isEnabled : boolean ) : void ;
7386 function show ( ) : void ;
7487 enum actionTypes {
75- allActions ,
76- reportBug ,
7788 requestNewFeature ,
7889 addCommentToFeature
7990 }
@@ -146,6 +157,14 @@ export namespace APM {
146157 function startUITrace ( name : string ) : void ;
147158 function endUITrace ( ) : void ;
148159 function setLogLevel ( logLevel : logLevel ) : void ;
160+ enum logLevel {
161+ none ,
162+ error ,
163+ warning ,
164+ info ,
165+ debug ,
166+ verbose ,
167+ }
149168}
150169export function startWithToken (
151170 token : string ,
@@ -229,7 +248,7 @@ export function setDebugEnabled(isDebugEnabled: boolean): void;
229248export function enable ( ) : void ;
230249export function disable ( ) : void ;
231250export function setEnableInAppNotificationSound ( shouldPlaySound : boolean ) : void ;
232- export function reportJSException ( Exception : object ) : void ;
251+ export function reportJSException ( errorObject : object ) : void ;
233252export function isRunningLive ( runningLiveCallBack : ( ) => void ) : void ;
234253export function setVideoRecordingFloatingButtonPosition (
235254 position : IBGPosition
@@ -293,14 +312,6 @@ export enum sdkDebugLogsLevel {
293312 sdkDebugLogsLevelError ,
294313 sdkDebugLogsLevelNone ,
295314}
296- export enum logLevel {
297- none ,
298- error ,
299- warning ,
300- info ,
301- debug ,
302- verbose ,
303- }
304315export enum extendedBugReportMode {
305316 enabledWithRequiredFields ,
306317 enabledWithOptionalFields ,
@@ -362,7 +373,7 @@ export enum strings {
362373 invalidCommentMessage ,
363374 invalidCommentTitle ,
364375 invocationHeader ,
365- talkToUs ,
376+ startChats ,
366377 reportQuestion ,
367378 reportBug ,
368379 reportFeedback ,
0 commit comments