getTrustLevel

open override fun getTrustLevel(roomId: RoomId, eventId: EventId): Flow<DeviceTrustLevel?>

Return

the trust level of a device or null, if the timeline event is not a megolm encrypted event.


open override fun getTrustLevel(userId: UserId, deviceId: String): Flow<DeviceTrustLevel>

Return

the trust level of a device.


open override fun getTrustLevel(userId: UserId): Flow<UserTrustLevel>

Return

the trust level of a user. This will only be present, if the requested user has cross signing enabled.