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

Quelle  BlobOrigin.h   Sprache: C

 

#import <Foundation/Foundation.h>

/// Defines endpoint of upload/download blob resource.
///
/// Blob origin logic for file (group) messages (request:origin), if Multi Device activated:
///
/// ```
/// Device Group A                    | |                    Device Group B
/// ----------------------------------| |----------------------------------
/// File message                      | |
///        ┌────────┐ upload:public   | | download:public ┌────────┐
/// Leader │Device 1│––––––––––––––––→| |←–––––––––––––––→│Device 1│ Leader
///        └────────┘                 | | done:public     └────────┘
///                                   | |
///        ┌────────┐ download:local  |B| download:public ┌────────┐
///        │Device 2│←–––––––––––––––→|L|←–––––––––––––––→│Device 2│
///        └────────┘ done:local      |O| done:public     └────────┘
///                                   |B|
/// ----------------------------------| |----------------------------------
/// Group file message                |M|
///        ┌────────┐ upload:public * |I| download:public ┌────────┐
/// Leader │Device 1│––––––––––––––––→|R|←–––––––––––––––→│Device 1│ Leader
///        └────────┘                 |R| done:local      └────────┘
///                                   |O|
///        ┌────────┐ download:local  |R| download:public ┌────────┐
///        │Device 2│←–––––––––––––––→| |←–––––––––––––––→│Device 2│
///        └────────┘ done:local      | | done:local      └────────┘
///                                   | |
/// ```
/// * If group is a note group, we upload with origin local, since we are the only ones that download the blob anyways.
///
/// The origin of deprecated message types, `AudioMessageEntity`, `ImageMessageEntity` and `VideoMessageEntity`
/// are always `public`, because they will never be reflected as outgoing message! In new version this types will
/// send/reflected as `FileMessageEntity`.
typedef NS_ENUM(NSInteger, BlobOrigin) {
    BlobOriginPublic = 0,
    BlobOriginLocal = 1,
};

Messung
CHZG
100100100100

¤ Dauer der Verarbeitung: 0.1 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.