Skip to content

Commit

Permalink
feat: 插件增加初始化后的动作 onInit
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Oct 25, 2024
1 parent a7e7a3d commit 07b8411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/main/java/com/muedsa/tvbox/api/plugin/IPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import com.muedsa.tvbox.api.service.IMediaSearchService
abstract class IPlugin(var tvBoxContext: TvBoxContext) {
abstract var options: PluginOptions

abstract fun onInit()

abstract fun provideMainScreenService(): IMainScreenService

abstract fun provideMediaDetailService(): IMediaDetailService
Expand Down

0 comments on commit 07b8411

Please sign in to comment.