setThreadOption

fun setThreadOption(threadOption: ThreadOption, handler: Handler?)

Sets ThreadOption. Refer to ThreadOption. If you want to use ThreadOption.HANDLER, you should provide your handler as a parameter. Otherwise, set Handler parameter to null.

Since

3.0.98

Parameters

threadOption

ThreadOption you want to set.

handler

Your Handler object.