Skip to content

Commit

Permalink
REPLAY-1936 fix access levels
Browse files Browse the repository at this point in the history
  • Loading branch information
maxep committed Aug 17, 2023
1 parent 2a50817 commit 597da94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DatadogObjc/Sources/SessionReplay/SessionReplay+objc.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public final class DDSessionReplay: NSObject {
/// Session Replay feature configuration.
@objc
public final class DDSessionReplayConfiguration: NSObject {
public var _swift: SessionReplay.Configuration = .init(replaySampleRate: 0)
internal var _swift: SessionReplay.Configuration = .init(replaySampleRate: 0)

/// The sampling rate for Session Replay. It is applied in addition to the RUM session sample rate.
///
Expand Down Expand Up @@ -88,7 +88,7 @@ public enum DDSessionReplayConfigurationPrivacyLevel: Int {
/// Mask input elements, but record all other content.
case maskUserInput

public var _swift: SessionReplay.Configuration.PrivacyLevel {
internal var _swift: SessionReplay.Configuration.PrivacyLevel {
switch self {
case .allow: return .allow
case .mask: return .mask
Expand All @@ -97,7 +97,7 @@ public enum DDSessionReplayConfigurationPrivacyLevel: Int {
}
}

public init(_ swift: SessionReplay.Configuration.PrivacyLevel) {
internal init(_ swift: SessionReplay.Configuration.PrivacyLevel) {
switch swift {
case .allow: self = .allow
case .mask: self = .mask
Expand Down

0 comments on commit 597da94

Please sign in to comment.