Acrobits SDK
Toggle table of contents
26.1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Acrobits SDK
Libsoftphone
/
cz.acrobits.ali
/
Util
Util
open
class
Util
Utility methods.
Inheritors
AndroidUtil
Members
Constructors
Util
Link copied to clipboard
constructor
(
)
Functions
certificate
Chain
To
PEM
Link copied to clipboard
open
fun
certificateChainToPEM
(
chain
:
Array
<
X509Certificate
>
)
:
String
certificate
To
PEM
Link copied to clipboard
open
fun
certificateToPEM
(
certificate
:
X509Certificate
)
:
String
format
Percentage
Link copied to clipboard
open
fun
formatPercentage
(
value
:
Double
,
decimalPlaces
:
Int
)
:
String
open
fun
formatPercentage
(
locale
:
Locale
,
value
:
Double
,
decimalPlaces
:
Int
)
:
String
gcd
Link copied to clipboard
open
fun
gcd
(
items
:
Array
<
Int
>
)
:
Int
open
fun
gcd
(
p
:
Int
,
q
:
Int
)
:
Int
get
Ending
Bidirectional
Markers
Link copied to clipboard
open
fun
getEndingBidirectionalMarkers
(
@
Nullable
string
:
String
)
:
String
get
Starting
Bidirectional
Markers
Link copied to clipboard
open
fun
getStartingBidirectionalMarkers
(
@
Nullable
string
:
String
)
:
String
is
Bidirectional
Character
Link copied to clipboard
open
fun
isBidirectionalCharacter
(
c
:
Char
)
:
Boolean
open
fun
isBidirectionalCharacter
(
c
:
String
)
:
Boolean
load
Class
Link copied to clipboard
@
Nullable
open
fun
loadClass
(
@
NonNull
name
:
String
)
:
Class
<
out
Any
>
Exception-safe version of
Class.forName
.
repeat
Link copied to clipboard
@
NonNull
open
fun
repeat
(
c
:
Char
,
n
:
Int
)
:
String
@
NonNull
open
fun
repeat
(
str
:
String
,
n
:
Int
)
:
String