Aller au contenu

FrakSharingConfiguration

Ce contenu n’est pas encore disponible dans votre langue.

struct FrakSharingConfiguration

How 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

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
)
var detectInstall: Bool

Whether 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.

var heightFraction: CGFloat

Fraction of the screen height the sheet occupies, clamped to 0.3...1.0.

var install: FrakInstallPresentation

How the wallet’s App Store listing is raised when the user asks to install it.

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.

!=(::)

static func != (lhs: Self, rhs: Self) -> Bool

Returns 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.