|
5 | 5 |
|
6 | 6 | Copyright: (c) 2013-2018 by Instabug, Inc., all rights reserved. |
7 | 7 |
|
8 | | - Version: 7.8.4 |
| 8 | + Version: 7.9.1 |
9 | 9 | */ |
10 | 10 |
|
11 | 11 | #import <Foundation/Foundation.h> |
12 | 12 | #import <UIKit/UIKit.h> |
13 | | -#import <InstabugCore/IBGTypes.h> |
| 13 | +#import <InstabugCore/InstabugCore.h> |
14 | 14 |
|
15 | 15 | /** |
16 | 16 | This is the API for using Instabug's SDK. For more details about the SDK integration, |
@@ -161,6 +161,25 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r |
161 | 161 | */ |
162 | 162 | + (void)setUserStepsEnabled:(BOOL)isUserStepsEnabled; |
163 | 163 |
|
| 164 | +/** |
| 165 | + @brief Sets whether the SDK is recording the screen or not. |
| 166 | +
|
| 167 | + @discussion Enabling auto screen recording would give you an insight on the scenario a user has performed before encountering a bug or a crash. screen recording is attached with each report being sent. |
| 168 | +
|
| 169 | + Auto screen recording is disabled by default. |
| 170 | +
|
| 171 | + @param enabled A boolean to set auto screen recording to being enabled or disabled. |
| 172 | + */ |
| 173 | ++ (void)setAutoScreenRecordingEnabled:(BOOL)enabled; |
| 174 | + |
| 175 | +/** |
| 176 | + @brief Sets maximum auto screen recording video duration. |
| 177 | +
|
| 178 | + @discussion sets maximum auto screen recording video duration with max value 30 seconds and min value greater than 1 sec. |
| 179 | +
|
| 180 | + @param duration A float to set maximum auto screen recording video duration. |
| 181 | + */ |
| 182 | ++ (void)setAutoScreenRecordingDuration:(CGFloat)duration; |
164 | 183 | /** |
165 | 184 | @brief Sets whether user steps tracking is visual, non visula or disabled. |
166 | 185 | |
@@ -631,7 +650,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r |
631 | 650 | extraScreenShot:(BOOL)extraScreenShot |
632 | 651 | galleryImage:(BOOL)galleryImage |
633 | 652 | voiceNote:(BOOL)voiceNote |
634 | | - screenRecording:(BOOL)screenRecording DEPRECATED_MSG_ATTRIBUTE("Starting from v8.0, use setAttachmentOptions: instead"); |
| 653 | + screenRecording:(BOOL)screenRecording DEPRECATED_MSG_ATTRIBUTE("Starting from v7.6.1, use setEnabledAttachmentTypes: instead"); |
635 | 654 |
|
636 | 655 | /** |
637 | 656 | @brief Sets whether attachments in bug reporting and in-app messaging are enabled. |
|
0 commit comments