toggle menu
ChatCenterUI SDK
5.6.0
ChatCenterUI SDK
switch theme
search in API
ChatCenterUI SDK
/
edna.chatcenter.ui.visual.utils
/
UrlUtils
Url
Utils
class
UrlUtils
Members
Constructors
Url
Utils
Link copied to clipboard
constructor
(
)
Properties
DEEPLINK_URL
Link copied to clipboard
val
DEEPLINK_URL
:
Pattern
image
Extensions
Link copied to clipboard
val
imageExtensions
:
Array
<
String
>
WEB_URL
Link copied to clipboard
val
WEB_URL
:
Pattern
Regular expression pattern to match most part of RFC 3987 Internationalized URLs, aka IRIs.
Functions
extract
Deep
Link
Link copied to clipboard
fun
extractDeepLink
(
text
:
String
)
:
String
?
extract
Email
Addresses
Link copied to clipboard
fun
extractEmailAddresses
(
text
:
String
)
:
List
<
String
>
extract
Image
Markdown
Link
Link copied to clipboard
fun
extractImageMarkdownLink
(
text
:
String
)
:
String
?
extract
Link
Link copied to clipboard
fun
extractLink
(
text
:
String
)
:
<Error class: unknown class>
?
get
Link
Link copied to clipboard
fun
getLink
(
text
:
String
)
:
<Error class: unknown class>
?
is
Valid
Url
Link copied to clipboard
fun
isValidUrl
(
url
:
String
)
:
Boolean