# FrakSharingConfiguration

```swift
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](https://github.com/frak-id/wallet/blob/35995d05c807efe1e0d6319fdede3ad363124d1e/sdk/ios/Sources/FrakSDKUI/FrakSharingConfiguration.swift#L5)

## Initializers

### init(heightFraction:install:detectInstall:language:)

```swift
init(
    heightFraction: CGFloat = FrakSharingDefaults.heightFraction,
    install: FrakInstallPresentation = FrakSharingDefaults.install,
    detectInstall: Bool = FrakSharingDefaults.detectInstall,
    language: String? = nil
)
```

## Properties

### detectInstall

```swift
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.

### heightFraction

```swift
var heightFraction: CGFloat
```

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

### install

```swift
var install: FrakInstallPresentation
```

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

### language

```swift
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

### !=(_:_:)

```swift
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.