openTubeDrama static method

Future<void> openTubeDrama(
  1. int dramaId, {
  2. int episode = 1,
  3. int freeSet = 10,
  4. int unlockSet = 20,
  5. String entrance = "default",
})

打开短剧原生播放页 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,
  });
}