Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Threema/ThreemaTests/Mocks/   (Social Medium ©)  Datei vom 26.9.2026 mit Größe 2 kB image not shown  

Quelle  SettingsStoreMock.swift   Sprache: JAVA

 

import Combine
import Foundation
import ThreemaProtocols
@testable import ThreemaFramework

final class SettingsStoreMock: SettingsStoreProtocol, SettingsStoreInternalProtocol {
    var inAppSounds = true

    var inAppVibrate = true
    
    var displayOrderFirstName = true

    var hideStaleContacts = false

    var previewLimit: Float = 0.0

    var showGalleryPreview = true

    var showProfilePictures = true

    var interfaceStyle = 0

    var syncContacts = true
    
    @Published var blacklist = Set<String>()
    
    var syncExclusionList = [String]()
    
    var blockUnknown = true
    
    var allowOutgoingDonations = false

    var sendReadReceipts = true
    
    var sendTypingIndicator = true
    
    var choosePOI = true
    
    var hidePrivateChats = true

    var allowScreenshot = true

    var allowKeyboardDataCollection = true
    
    var enableMasterDnd = false
    
    var masterDndWorkingDays: Set<Int> = []
    
    var masterDndStartTime: String?
    
    var masterDndEndTime: String?
    
    var notificationType: ThreemaFramework.NotificationType = .restrictive

    var pushShowPreview = false
    
    var wallpaperStore: WallpaperStoreProtocol = WallpaperStoreMock()

    var useBigEmojis = false
    
    var sendMessageFeedback = false
    
    var imageSize: String = ImageSenderItemSize.original.rawValue

    var videoQuality: String = VideoSenderItemQuality.original.rawValue

    var autoSaveMedia = false
    
    var enableThreemaCall = true
    
    var alwaysRelayCalls = false
    
    var includeCallsInRecents = true
    
    var enableVideoCall = true
    
    var threemaVideoCallQualitySetting = ThreemaVideoCallQualitySetting(2)
    
    var voIPSound = "Test Sound"
    
    var enableThreemaGroupCalls = true

    var isMultiDeviceRegistered = false
    
    var enableIPv6 = true
    
    var enableProximityMonitoring = true
    
    var validationLogging = false
    
    var sentryAppDevice: String?
    
    var ipcCommunicationEnabled = false

    func updateSettingsStore(with syncSettings: D2dSync_Settings) {
        // Noop
    }

    func syncSettingCalls() {
        // no-op
    }
}

Messung
CHZG
859710094

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.