getChapterContentFlow

abstract fun getChapterContentFlow(chapterId: String, bookId: String, priority: WebDataSourcePriority = WebDataSourcePriority.Default): Flow<ChapterContent>

获取章节内容的流 流遵照先本地后远程的顺序发射数据

Return

ChapterContent对象的流, 如果远程和本地都没有成功获取则发射保留书本id的空章节内容

Since

Api 2

Parameters

chapterId

需要获取的章节id

bookId

需要获取章节所属的书本id

priority

此请求的优先级, 后端可能会依据优先级处理网络请求