Set Video Recording Button Position

Use this API to set the position of the video recording button when using the screen recording attachment functionality. This API can take an enum of the position.

Method

BugReporting.videoRecordingFloatingButtonPosition = .topLeft
IBGBugReporting.videoRecordingFloatingButtonPosition = IBGPositionTopLeft;
BugReporting.setVideoRecordingFloatingButtonPosition(InstabugVideoRecordingButtonPosition.TOP_LEFT);
BugReporting.setVideoRecordingFloatingButtonPosition(InstabugVideoRecordingButtonPosition.TOP_LEFT)
BugReporting.setVideoRecordingFloatingButtonPosition(BugReporting.position.topLeft);
BugReporting.setVideoRecordingFloatingButtonPosition(Position.topLeft);
BugReporting.setVideoRecordingFloatingButtonPosition(BugReporting.position.topLeft);
Position Parameters:

//Top Left
.topLeft
//Top Right
.topRight
//Bottom Left
.bottomLeft
//Bottom Right
.bottomRight
//Top Left
IBGPositionTopLeft
//Top Right
IBGPositionTopRight
//Bottom Left
IBGPositionBottomLeft
//Bottom Right
IBGPositionBottomRight
//Top Left
TOP_LEFT
//Top Right
TOP_RIGHT
//Bottom Left
BOTTOM_LEFT
//Bottom Right
BOTTOM_RIGHT
//Top Left
TOP_LEFT
//Top Right
TOP_RIGHT
//Bottom Left
BOTTOM_LEFT
//Bottom Right
BOTTOM_RIGHT
//Top Left
BugReporting.position.topLeft
//Top Right
BugReporting.position.topRight
//Bottom Left
BugReporting.position.bottomLeft
//Bottom Right
BugReporting.position.bottomLeft
//Top Left
Position.topLeft
//Top Right
Position.topRight
//Bottom Left
Position.bottomLeft
//Bottom Right
Position.bottomLeft
//Top Left
BugReporting.position.topLeft
//Top Right
BugReporting.position.topRight
//Bottom Left
BugReporting.position.bottomLeft
//Bottom Right
BugReporting.position.bottomLeft