Skip to content

Commit

Permalink
Update framework
Browse files Browse the repository at this point in the history
  • Loading branch information
crleona committed Oct 2, 2024
1 parent bdcb742 commit a4abd2d
Show file tree
Hide file tree
Showing 21 changed files with 7,863 additions and 5,271 deletions.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ extension UIKit.UIView {
@objc func log(message: Swift.String)
@objc func debug(message: Swift.String)
}
@objc public enum MaskLevel : Swift.Int, Swift.CustomStringConvertible {
case light = 0
case medium = 1
case conservative = 2
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension SwiftUI.View {
public func amp_setBlocked(_ blocked: Swift.Bool) -> some SwiftUI.View

Expand All @@ -39,8 +52,14 @@ public typealias SessionId = Swift.Int64
public typealias DeviceId = Swift.String
@objc(AMPSessionReplay) final public class SessionReplay : ObjectiveC.NSObject, @unchecked Swift.Sendable {
@objc final public let apiKey: Swift.String
@objc final public let sampleRate: Swift.Float
@objc final public let logger: any AmplitudeSessionReplay.Logger
@objc final public let enableRemoteConfig: Swift.Bool
@objc final public var sampleRate: Swift.Float {
@objc get
}
@objc final public var maskLevel: AmplitudeSessionReplay.MaskLevel {
get
}
@objc final public var optOut: Swift.Bool {
@objc get
@objc set
Expand All @@ -56,7 +75,7 @@ public typealias DeviceId = Swift.String
@objc final public var additionalEventProperties: [Swift.String : Any] {
@objc get
}
@objc public init(apiKey: Swift.String, deviceId: AmplitudeSessionReplay.DeviceId? = nil, sessionId: AmplitudeSessionReplay.SessionId = -1, optOut: Swift.Bool = false, sampleRate: Swift.Float = 0.0, logger: (any AmplitudeSessionReplay.Logger)? = nil, serverZone: AmplitudeSessionReplay.ServerZone = .US)
@objc public init(apiKey: Swift.String, deviceId: AmplitudeSessionReplay.DeviceId? = nil, sessionId: AmplitudeSessionReplay.SessionId = -1, optOut: Swift.Bool = false, sampleRate: Swift.Float = 0.0, logger: (any AmplitudeSessionReplay.Logger)? = nil, serverZone: AmplitudeSessionReplay.ServerZone = .US, maskLevel: AmplitudeSessionReplay.MaskLevel = .medium, enableRemoteConfig: Swift.Bool = true)
@objc final public func start()
@objc final public func stop()
@objc final public func flush()
Expand All @@ -74,6 +93,9 @@ extension QuartzCore.CATransform3D : Swift.Equatable {
get
}
}
extension AmplitudeSessionReplay.MaskLevel : Swift.Equatable {}
extension AmplitudeSessionReplay.MaskLevel : Swift.Hashable {}
extension AmplitudeSessionReplay.MaskLevel : Swift.RawRepresentable {}
extension AmplitudeSessionReplay.ServerZone : Swift.Equatable {}
extension AmplitudeSessionReplay.ServerZone : Swift.Hashable {}
extension AmplitudeSessionReplay.ServerZone : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ extension UIKit.UIView {
@objc func log(message: Swift.String)
@objc func debug(message: Swift.String)
}
@objc public enum MaskLevel : Swift.Int, Swift.CustomStringConvertible {
case light = 0
case medium = 1
case conservative = 2
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension SwiftUI.View {
public func amp_setBlocked(_ blocked: Swift.Bool) -> some SwiftUI.View

Expand All @@ -40,8 +53,14 @@ public typealias SessionId = Swift.Int64
public typealias DeviceId = Swift.String
@objc(AMPSessionReplay) final public class SessionReplay : ObjectiveC.NSObject, @unchecked Swift.Sendable {
@objc final public let apiKey: Swift.String
@objc final public let sampleRate: Swift.Float
@objc final public let logger: any AmplitudeSessionReplay.Logger
@objc final public let enableRemoteConfig: Swift.Bool
@objc final public var sampleRate: Swift.Float {
@objc get
}
@objc final public var maskLevel: AmplitudeSessionReplay.MaskLevel {
get
}
@objc final public var optOut: Swift.Bool {
@objc get
@objc set
Expand All @@ -57,7 +76,7 @@ public typealias DeviceId = Swift.String
@objc final public var additionalEventProperties: [Swift.String : Any] {
@objc get
}
@objc public init(apiKey: Swift.String, deviceId: AmplitudeSessionReplay.DeviceId? = nil, sessionId: AmplitudeSessionReplay.SessionId = -1, optOut: Swift.Bool = false, sampleRate: Swift.Float = 0.0, logger: (any AmplitudeSessionReplay.Logger)? = nil, serverZone: AmplitudeSessionReplay.ServerZone = .US)
@objc public init(apiKey: Swift.String, deviceId: AmplitudeSessionReplay.DeviceId? = nil, sessionId: AmplitudeSessionReplay.SessionId = -1, optOut: Swift.Bool = false, sampleRate: Swift.Float = 0.0, logger: (any AmplitudeSessionReplay.Logger)? = nil, serverZone: AmplitudeSessionReplay.ServerZone = .US, maskLevel: AmplitudeSessionReplay.MaskLevel = .medium, enableRemoteConfig: Swift.Bool = true)
@objc final public func start()
@objc final public func stop()
@objc final public func flush()
Expand All @@ -75,6 +94,9 @@ extension QuartzCore.CATransform3D : Swift.Equatable {
get
}
}
extension AmplitudeSessionReplay.MaskLevel : Swift.Equatable {}
extension AmplitudeSessionReplay.MaskLevel : Swift.Hashable {}
extension AmplitudeSessionReplay.MaskLevel : Swift.RawRepresentable {}
extension AmplitudeSessionReplay.ServerZone : Swift.Equatable {}
extension AmplitudeSessionReplay.ServerZone : Swift.Hashable {}
extension AmplitudeSessionReplay.ServerZone : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>0.0.7</string>
</dict>
</plist>
Binary file not shown.
Loading

0 comments on commit a4abd2d

Please sign in to comment.