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

Quelle  MessageAccessibility.swift   Sprache: JAVA

 

import Foundation
import ThreemaMacros
import UIKit

public protocol MessageAccessibility: BaseMessageEntity {
    /// For private use only, use `customAccessibilityLabel` instead
    @available(*, deprecated, message: "For private use only, use `customAccessibilityLabel` instead")
    var privateCustomAccessibilityLabel: String { get }
    var customAccessibilityValue: String? { get }
    var customAccessibilityHint: String? { get }
    var customAccessibilityTrait: UIAccessibilityTraits { get }
    var accessibilityMessageTypeDescription: String { get }
}

extension MessageAccessibility {
    public var customAccessibilityLabel: String {
        // If deleted we return the default text
        guard deletedAt == nil else {
            return #localize("deleted_message")
        }
        
        return privateCustomAccessibilityLabel
    }
    
    public var customAccessibilityValue: String? {
        nil
    }

    public var customAccessibilityHint: String? {
        nil
    }

    public var customAccessibilityTrait: UIAccessibilityTraits {
        .none
    }
}

Messung
CHZG
829610092

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-04) ¤

*© 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.