@@ -7,14 +7,24 @@ export namespace BugReporting {
7
7
function setEnabled ( isEnabled : boolean ) : void ;
8
8
function setInvocationEvents ( invocationEvents : invocationEvent [ ] ) : void ;
9
9
function setInvocationOptions ( invocationOptions : invocationOptions [ ] ) : void ;
10
+ function setOptions ( options : invocationOptions [ ] ) : void ;
10
11
function onInvokeHandler ( handler : ( ) => void ) : void ;
11
- function onReportSubmitHandler ( preSendingHandler : ( ) => void ) : void ;
12
12
function onSDKDismissedHandler (
13
13
handler : ( dismiss : dismissType , report : reportType ) => void
14
14
) : void ;
15
15
function setDidSelectPromptOptionHandler (
16
16
didSelectPromptOptionHandler : ( ) => void
17
17
) : 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 ;
18
28
function setShakingThresholdForiPhone ( iPhoneShakingThreshold : number ) : void ;
19
29
function setShakingThresholdForiPad ( iPadShakingThreshold : number ) : void ;
20
30
function setShakingThresholdForAndroid ( androidThreshold : number ) : void ;
@@ -24,8 +34,11 @@ export namespace BugReporting {
24
34
function setReportTypes ( types : reportType [ ] ) : void ;
25
35
function showWithOptions ( type : reportType , options : option [ ] ) : void ;
26
36
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 ;
29
42
enum invocationEvent {
30
43
none ,
31
44
shake ,
@@ -62,7 +75,7 @@ export namespace Chats {
62
75
}
63
76
export namespace CrashReporting {
64
77
function setEnabled ( isEnabled : boolean ) : void ;
65
- function reportJSException ( Exception : object ) : void ;
78
+ function reportJSException ( errorObject : object ) : void ;
66
79
}
67
80
export namespace FeatureRequests {
68
81
function setEmailFieldRequired (
@@ -72,8 +85,6 @@ export namespace FeatureRequests {
72
85
function setEnabled ( isEnabled : boolean ) : void ;
73
86
function show ( ) : void ;
74
87
enum actionTypes {
75
- allActions ,
76
- reportBug ,
77
88
requestNewFeature ,
78
89
addCommentToFeature
79
90
}
@@ -146,6 +157,14 @@ export namespace APM {
146
157
function startUITrace ( name : string ) : void ;
147
158
function endUITrace ( ) : void ;
148
159
function setLogLevel ( logLevel : logLevel ) : void ;
160
+ enum logLevel {
161
+ none ,
162
+ error ,
163
+ warning ,
164
+ info ,
165
+ debug ,
166
+ verbose ,
167
+ }
149
168
}
150
169
export function startWithToken (
151
170
token : string ,
@@ -229,7 +248,7 @@ export function setDebugEnabled(isDebugEnabled: boolean): void;
229
248
export function enable ( ) : void ;
230
249
export function disable ( ) : void ;
231
250
export function setEnableInAppNotificationSound ( shouldPlaySound : boolean ) : void ;
232
- export function reportJSException ( Exception : object ) : void ;
251
+ export function reportJSException ( errorObject : object ) : void ;
233
252
export function isRunningLive ( runningLiveCallBack : ( ) => void ) : void ;
234
253
export function setVideoRecordingFloatingButtonPosition (
235
254
position : IBGPosition
@@ -293,14 +312,6 @@ export enum sdkDebugLogsLevel {
293
312
sdkDebugLogsLevelError ,
294
313
sdkDebugLogsLevelNone ,
295
314
}
296
- export enum logLevel {
297
- none ,
298
- error ,
299
- warning ,
300
- info ,
301
- debug ,
302
- verbose ,
303
- }
304
315
export enum extendedBugReportMode {
305
316
enabledWithRequiredFields ,
306
317
enabledWithOptionalFields ,
@@ -362,7 +373,7 @@ export enum strings {
362
373
invalidCommentMessage ,
363
374
invalidCommentTitle ,
364
375
invocationHeader ,
365
- talkToUs ,
376
+ startChats ,
366
377
reportQuestion ,
367
378
reportBug ,
368
379
reportFeedback ,
0 commit comments