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

1.0.0

Parameters

threadOption

ThreadOption you want to set.

handler

Your Handler object.