Skip to content

Commit

Permalink
Updating CaptureServiceBuilder API (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoEmbrace authored Dec 10, 2024
1 parent 621ac37 commit 3bd25de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/EmbraceIO/Capture/CaptureService+Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ import EmbraceCaptureService
}

/// Returns a `ViewCaptureService`.
static func view() -> ViewCaptureService {
return ViewCaptureService()
static func view(
options: ViewCaptureService.Options = ViewCaptureService.Options()
) -> ViewCaptureService {
return ViewCaptureService(options: options)
}
#endif

Expand Down

0 comments on commit 3bd25de

Please sign in to comment.