FrakSharingConfiguration
struct FrakSharingConfigurationHow the sharing sheet is presented, as opposed to what it shares.
Conforms to Swift.Equatable, Swift.Hashable, Swift.Sendable
Defined in: Sources/FrakSDKUI/FrakSharingConfiguration.swift:5
Initializers
Section titled “Initializers”init(heightFraction:install:detectInstall:language:)
Section titled “init(heightFraction:install:detectInstall:language:)”init( heightFraction: CGFloat = FrakSharingDefaults.heightFraction, install: FrakInstallPresentation = FrakSharingDefaults.install, detectInstall: Bool = FrakSharingDefaults.detectInstall, language: String? = nil)Properties
Section titled “Properties”detectInstall
Section titled “detectInstall”var detectInstall: BoolWhether the sheet notices the wallet becoming installable while its store surface is up and hands off deterministically, instead of falling back to the install code. iOS-only.
heightFraction
Section titled “heightFraction”var heightFraction: CGFloatFraction of the screen height the sheet occupies, clamped to 0.3...1.0.
install
Section titled “install”var install: FrakInstallPresentationHow the wallet’s App Store listing is raised when the user asks to install it.
language
Section titled “language”var language: String?Language of the sheet’s contents as a BCP-47 tag ("en", "fr-CA"); nil uses the device
locale. The page falls back to its own default for a tag it has no translation for, so this
selects among what the page ships rather than adding a language.
Operators
Section titled “Operators”!=(::)
static func != (lhs: Self, rhs: Self) -> BoolReturns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values a and b, a != b
implies that a == b is false.
This is the default implementation of the not-equal-to operator (!=)
for any type that conforms to Equatable.
- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.