Create EnterpriseRemoteConfigSource enum

This allows us to decide where to get the remote enterprise config from.
This commit is contained in:
Jorge Martín
2026-08-10 14:13:21 +02:00
committed by Jorge Martin Espinosa
parent 59758a20a5
commit 49abaf5a5c
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2026 Element Creations Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.libraries.wellknown.api
/**
* The source from which the enterprise remote configuration is retrieved.
*/
enum class EnterpriseRemoteConfigSource {
/**
* Retrieve the enterprise remote configuration from the Element Server Suite configuration (ESS_CONFIG) endpoint.
*/
ESS_CONFIG,
/**
* Retrieve the enterprise remote configuration from the Element server's well-known endpoint.
*/
WELLKNOWN_ENDPOINT,
}