PangrowthNovel class
@Author: gstory @CreateDate: 2021/12/13 3:23 下午 @Email gstory0404@gmail.com @Description: 内容输出小说
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getNovelHistory(
) → Future< NovelEntity> - 获取阅读历史,单本
-
getNovelRecommendFeed(
{required int size}) → Future< NovelEntity> - 获取Feed推荐书列表,信息较多
-
getNovelRecommendV1(
{required int size}) → Future< NovelEntity> - 获取启动后推荐书列表,信息较少
-
getReadDuration(
) → Future< int> - 获取小说阅读时长
-
novelEntranceView(
{required double viewWidth, required double viewHeight, required String type, required String style}) → Widget - 小说入口view
-
openNovelPage(
) → Future< bool> - 打开小说页面
-
openNovelPageWithConfig(
{required int type, required String book}) → Future< bool> - 打开书籍
-
openNovelPageWithUrl(
{required String url}) → Future< bool> - 打开书籍
-
registerNovel(
{required String appName, required String appVersionName, required int appVersionCode, String? channel, required String andoridAppId, required String iosAppId, bool? debug, bool? personalRecommendAd, bool? personalRecommendContent, String? normalFontType, String? readFontType}) → Future< bool> - NovelSDK注册初始化
-
reportRecentNovelClick(
{required int type, required String book}) → Future< bool> - #当点击历史、feed推荐书时,调用此接口
-
reportRecentNovelShow(
{required int type, required String book}) → Future< bool> - 为了更精准推荐书籍,当显示历史、feed推荐书时,调用此接口,上报埋点增强推荐能力
-
searchNovelResults(
{required String queryContent, required int offset, required int limit}) → Future< NovelEntity> - 小说搜索结果
-
searchNovelSuggestions(
{required String queryContent}) → Future< NovelEntity> - 小说搜索推荐