Package com.secoo.coobox.library.ktx.android.content

Functions

activity
Link copied to clipboard
tailrec fun Context?.activity(): Activity?
尝试 将 Context 对象转换成 Activity 对象
areNotificationsEnabled
Link copied to clipboard
fun Context?.areNotificationsEnabled(): Boolean
通知栏权限是否可以使用
copyTextToClipboard
Link copied to clipboard
fun Context?.copyTextToClipboard(text: CharSequence?, label: CharSequence? = null): Boolean
复制内容到剪切板