1) TnkSession.queryPublishState()
When you stop publishing ads, no ads will not be displayed in offerwall. For good user experience, you had better hide offerwall buttons when your app is not in publishing state. This method inquiries current state of your app in async way.
Method
- void TnkSession.queryPublishState(Context context, boolean showProgress, ServiceCallback callback)
Description
This method returns current state of your app. This method works asynchronously and delivers return values to ServiceCallback object you passed in. You should invoke this method in main UI thread. Return value is delivered to the second parameter of onReturn(Context context, Object result) method of callback object. Callback is executed in main UI thread.
Parameters
2) TnkSession.enableLogging()
Turn on or off SDK's logging output.
Method
- void TnkSession.enableLogging(boolean trueOrFalse)
|