Index
kite-runtime / jp.co.cyberagent.kite.runtime / jp.co.cyberagent.kite.core.KiteDslScope
Extensions for jp.co.cyberagent.kite.core.KiteDslScope¶
| Name | Summary | 
|---|---|
| currentState | val KiteDslScope.currentState: StateReturns the current Lifecycle.State.  |  
| onCreate | fun KiteDslScope.onCreate(onCreate: () ->Unit):UnitExecutes the action onCreate when receives the lifecycle event Lifecycle.Event.ON_CREATE.  |  
| onDestroy | fun KiteDslScope.onDestroy(onDestroy: () ->Unit):UnitExecutes the action onDestroy when receives the lifecycle event Lifecycle.Event.ON_DESTROY.  |  
| onLifecycleEvent | fun KiteDslScope.onLifecycleEvent(onCreate: () ->Unit= {}, onStart: () ->Unit= {}, onResume: () ->Unit= {}, onPause: () ->Unit= {}, onStop: () ->Unit= {}, onDestroy: () ->Unit= {}):UnitExecutes the specific action when receives the corresponded lifecycle event.  |  
| onPause | fun KiteDslScope.onPause(onPause: () ->Unit):UnitExecutes the action onPause when receives the lifecycle event Lifecycle.Event.ON_PAUSE.  |  
| onResume | fun KiteDslScope.onResume(onResume: () ->Unit):UnitExecutes the action onResume when receives the lifecycle event Lifecycle.Event.ON_RESUME.  |  
| onStart | fun KiteDslScope.onStart(onStart: () ->Unit):UnitExecutes the action onStart when receives the lifecycle event Lifecycle.Event.ON_START.  |  
| onStop | fun KiteDslScope.onStop(onStop: () ->Unit):UnitExecutes the action onStop when receives the lifecycle event Lifecycle.Event.ON_STOP.  |