> ## Documentation Index
> Fetch the complete documentation index at: https://docs.almedia.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# `AlmediaLinkSettings`

> The Almedia API — SDK 1.3.0 and newer. Synced from the source repository.

Namespace: `AlmediaLink` · `ScriptableObject`

Edit-time configuration backed by `Assets/Almedia/Resources/AlmediaSettings.asset`. The asset is created automatically on first package import and is never overwritten by SDK upgrades. `Almedia` and the `AlmediaLink` API both read it.

Open the settings window via **Almedia → Settings** in the Unity menu bar.

## Properties

All properties are read-only from outside the asset (set via the Unity Inspector).

### SDK Configuration

| Property | Type | Default | Description |
| - | - | - | - |
| `IosIntegrationKey` | `string` | empty | Almedia-issued key for iOS. |
| `AndroidIntegrationKey` | `string` | empty | Almedia-issued key for Android. |
| `NotificationPollIntervalSeconds` | `int` | 30 | Notification polling cadence when the backend sets none. Min 5. |
| `EnableDefaultNotificationUI` | `bool` | true | When false, SDK does not show its NotificationCard or ActivityOverlay; host receives `OnNotificationsReceived` and renders. |
| Auto-Initialize From Prefabs | `bool` | true | When on, a `LinkButton` prefab initializes the SDK with the settings values unless the host has already called `Initialize`. Settings toggle only, with no public accessor. |

### Disabled Features

One toggle per [`AlmediaFeature`](https://docs.almedia.dev/technical/api-reference/almedia/models#almediafeature), drawn from the SDK's feature list so a new feature appears without an editor update. Stored as wire names. The ticked set is the floor for every player; `AlmediaConfig.DisabledFeatures` adds to it for the current player. Settings toggles only, with no public accessor.

### Link Popup

| Property | Type | Description |
| - | - | - |
| `PopupTitle` | `string` | Headline at top of the popup. |
| `Benefit1Title` | `string` | Bold title of the first benefit bullet. |
| `Benefit1Description` | `string` | Description below benefit 1. |
| `Benefit2Title` | `string` | Bold title of the second benefit bullet. |
| `Benefit2Description` | `string` | Description below benefit 2. |
| `CtaButtonText` | `string` | Label on the primary call-to-action button. |
| `OverlayTitle` | `string` | Title at the top of the Activity Overlay (notification list). |
| `PopupBackgroundColor` | `Color` | Popup card background. |
| `CtaButtonColor` | `Color` | CTA button fill. |
| `CtaButtonTextColor` | `Color` | CTA button text color. |

### Notifications

| Property | Type | Description |
| - | - | - |
| `NotificationBackgroundColor` | `Color` | Notification card background. |

### Default UI Prefabs

| Property | Type | Description |
| - | - | - |
| Link Popup | `AlmediaLinkPopupController` | The popup [`ShowLink()`](https://docs.almedia.dev/technical/api-reference/almedia/almedia-methods#static-void-showlink) presents. The settings asset the SDK creates on first import has the bundled prefab here. An existing one keeps the slot empty after the upgrade. Assign a Prefab Variant, or a prefab with your own derived controller, to customize. A popup assigned here ships in every build. Settings slot only, with no public accessor. |
| `NotificationCardPrefab` | `NotificationCardController` | The notification card the SDK instantiates when notifications arrive. Pre-filled with the bundled prefab; assign a Prefab Variant to customize. |
| `ActivityOverlayPrefab` | `ActivityOverlayController` | The notification list overlay opened from a stacked card. Same semantics. |

The two notification slots track **Enable Default Notification UI**: disabling the toggle clears slots that point at the bundled prefabs so they (and their art) stay out of the build, and re-enabling restores the bundled defaults into empty slots. A variant you assigned yourself survives the toggle in both directions. A `LinkButton` does not use the Link Popup slot. It opens the popup assigned on the button itself.

Deprecated members (`LinkPopupOverride`, `NotificationCardOverride`, `ActivityOverlayOverride`) carry their guidance in their `[Obsolete]` messages. One behavioral note: a popup assigned in `LinkPopupOverride` wins over the button's popup reference. `ShowLink()` also shows it while the **Link Popup** slot is empty.

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.