sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.content.pm
/
ShortcutXmlParser
Shortcut
Xml
Parser
@
RestrictTo
(
value
=
LIBRARY_GROUP
)
open
class
ShortcutXmlParser
(
source
)
Parses information of static shortcuts from shortcuts.xml
Members
Functions
get
Shortcut
Ids
Link copied to clipboard
@
WorkerThread
@
NonNull
open
fun
getShortcutIds
(
@
NonNull
context
:
Context
)
:
List
<
String
>
Returns a singleton instance of list of ids of static shortcuts parsed from shortcuts.
parse
Shortcut
Ids
Link copied to clipboard
@
VisibleForTesting
@
NonNull
open
fun
parseShortcutIds
(
@
NonNull
parser
:
XmlPullParser
)
:
List
<
String
>
Parses the shortcut ids from given XmlPullParser.