openTubeDrama static method
打开短剧原生播放页
entrance favorite / history / default,用于穿山甲推荐归因
Implementation
static Future<void> openTubeDrama(
int dramaId, {
int episode = 1,
int freeSet = 10,
int unlockSet = 20,
String entrance = "default",
}) {
return _sdkMethodChannel.invokeMethod("openTubeDrama", {
"dramaId": dramaId,
"episode": episode,
"freeSet": freeSet,
"unlockSet": unlockSet,
"entrance": entrance,
});
}