index.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. <!doctype html>
  2. <html lang="en" class="no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <link rel="icon" href="../../../../../../assets/images/favicon.png">
  7. <meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.33">
  8. <title>Value of - Compose TV App and Lib</title>
  9. <link rel="stylesheet" href="../../../../../../assets/stylesheets/main.3cba04c6.min.css">
  10. <link rel="stylesheet" href="../../../../../../assets/stylesheets/palette.06af60db.min.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  12. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
  13. <style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
  14. <script>__md_scope=new URL("../../../../../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
  15. <link href="../../../../../../assets/stylesheets/glightbox.min.css" rel="stylesheet"/><style>
  16. html.glightbox-open { overflow: initial; height: 100%; }
  17. .gslide-title { margin-top: 0px; user-select: text; }
  18. .gslide-desc { color: #666; user-select: text; }
  19. .gslide-image img { background: white; }
  20. .gscrollbar-fixer { padding-right: 15px; }
  21. .gdesc-inner { font-size: 0.75rem; }
  22. body[data-md-color-scheme="slate"] .gdesc-inner { background: var(--md-default-bg-color);}
  23. body[data-md-color-scheme="slate"] .gslide-title { color: var(--md-default-fg-color);}
  24. body[data-md-color-scheme="slate"] .gslide-desc { color: var(--md-default-fg-color);}</style> <script src="../../../../../../assets/javascripts/glightbox.min.js"></script></head>
  25. <body dir="ltr" data-md-color-scheme="slate" data-md-color-primary="teal" data-md-color-accent="teal">
  26. <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
  27. <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
  28. <label class="md-overlay" for="__drawer"></label>
  29. <div data-md-component="skip">
  30. <a href="#valueof" class="md-skip">
  31. Skip to content
  32. </a>
  33. </div>
  34. <div data-md-component="announce">
  35. </div>
  36. <header class="md-header md-header--shadow" data-md-component="header">
  37. <nav class="md-header__inner md-grid" aria-label="Header">
  38. <a href="../../../../../.." title="Compose TV App and Lib" class="md-header__button md-logo" aria-label="Compose TV App and Lib" data-md-component="logo">
  39. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
  40. </a>
  41. <label class="md-header__button md-icon" for="__drawer">
  42. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
  43. </label>
  44. <div class="md-header__title" data-md-component="header-title">
  45. <div class="md-header__ellipsis">
  46. <div class="md-header__topic">
  47. <span class="md-ellipsis">
  48. Compose TV App and Lib
  49. </span>
  50. </div>
  51. <div class="md-header__topic" data-md-component="header-topic">
  52. <span class="md-ellipsis">
  53. Value of
  54. </span>
  55. </div>
  56. </div>
  57. </div>
  58. <form class="md-header__option" data-md-component="palette">
  59. <input class="md-option" data-md-color-media="" data-md-color-scheme="slate" data-md-color-primary="teal" data-md-color-accent="teal" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_0">
  60. <label class="md-header__button md-icon" title="Switch to light mode" for="__palette_1" hidden>
  61. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12c0-2.42-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"/></svg>
  62. </label>
  63. <input class="md-option" data-md-color-media="" data-md-color-scheme="default" data-md-color-primary="teal" data-md-color-accent="teal" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_1">
  64. <label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_0" hidden>
  65. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"/></svg>
  66. </label>
  67. </form>
  68. <script>var media,input,key,value,palette=__md_get("__palette");if(palette&&palette.color){"(prefers-color-scheme)"===palette.color.media&&(media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']"),palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent"));for([key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
  69. <div class="md-header__source">
  70. <a href="https://github.com/mimoccc/tvapp" title="Go to repository" class="md-source" data-md-component="source">
  71. <div class="md-source__icon md-icon">
  72. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
  73. </div>
  74. <div class="md-source__repository">
  75. mimoccc/tvapp
  76. </div>
  77. </a>
  78. </div>
  79. </nav>
  80. </header>
  81. <div class="md-container" data-md-component="container">
  82. <main class="md-main" data-md-component="main">
  83. <div class="md-main__inner md-grid">
  84. <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
  85. <div class="md-sidebar__scrollwrap">
  86. <div class="md-sidebar__inner">
  87. <nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
  88. <label class="md-nav__title" for="__drawer">
  89. <a href="../../../../../.." title="Compose TV App and Lib" class="md-nav__button md-logo" aria-label="Compose TV App and Lib" data-md-component="logo">
  90. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
  91. </a>
  92. Compose TV App and Lib
  93. </label>
  94. <div class="md-nav__source">
  95. <a href="https://github.com/mimoccc/tvapp" title="Go to repository" class="md-source" data-md-component="source">
  96. <div class="md-source__icon md-icon">
  97. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
  98. </div>
  99. <div class="md-source__repository">
  100. mimoccc/tvapp
  101. </div>
  102. </a>
  103. </div>
  104. <ul class="md-nav__list" data-md-scrollfix>
  105. <li class="md-nav__item">
  106. <a href="../../../../../../home/" class="md-nav__link">
  107. <span class="md-ellipsis">
  108. Home
  109. </span>
  110. </a>
  111. </li>
  112. <li class="md-nav__item">
  113. <a href="../../../../../../release-notes-1.3.1/" class="md-nav__link">
  114. <span class="md-ellipsis">
  115. Release Notes
  116. </span>
  117. </a>
  118. </li>
  119. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  120. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3" >
  121. <label class="md-nav__link" for="__nav_3" id="__nav_3_label" tabindex="">
  122. <span class="md-ellipsis">
  123. Code
  124. </span>
  125. <span class="md-nav__icon md-icon"></span>
  126. </label>
  127. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_3_label" aria-expanded="false">
  128. <label class="md-nav__title" for="__nav_3">
  129. <span class="md-nav__icon md-icon"></span>
  130. Code
  131. </label>
  132. <ul class="md-nav__list" data-md-scrollfix>
  133. <li class="md-nav__item">
  134. <a href="../../../../../../documentation/lib/index.md" class="md-nav__link">
  135. <span class="md-ellipsis">
  136. Lib
  137. </span>
  138. </a>
  139. </li>
  140. <li class="md-nav__item">
  141. <a href="../../../../../../documentation/app/index.md" class="md-nav__link">
  142. <span class="md-ellipsis">
  143. App
  144. </span>
  145. </a>
  146. </li>
  147. </ul>
  148. </nav>
  149. </li>
  150. </ul>
  151. </nav>
  152. </div>
  153. </div>
  154. </div>
  155. <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
  156. <div class="md-sidebar__scrollwrap">
  157. <div class="md-sidebar__inner">
  158. <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  159. <label class="md-nav__title" for="__toc">
  160. <span class="md-nav__icon md-icon"></span>
  161. Table of contents
  162. </label>
  163. <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
  164. <li class="md-nav__item">
  165. <a href="#throws" class="md-nav__link">
  166. <span class="md-ellipsis">
  167. Throws
  168. </span>
  169. </a>
  170. </li>
  171. </ul>
  172. </nav>
  173. </div>
  174. </div>
  175. </div>
  176. <div class="md-content" data-md-component="content">
  177. <article class="md-content__inner md-typeset">
  178. <p>//<a href="../../../../../">tvlib</a>/<a href="../../../">org.mjdev.tvlib.webscrapper.base</a>/<a href="../../">ScrapeLink</a>/<a href="../">Priority</a>/<a href="./">valueOf</a></p>
  179. <h1 id="valueof">valueOf</h1>
  180. <p>[androidJvm]\
  181. fun <a href="./">valueOf</a>(value: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <a href="../">ScrapeLink.Priority</a></p>
  182. <p>Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)</p>
  183. <h4 id="throws">Throws</h4>
  184. <table>
  185. <thead>
  186. <tr>
  187. <th></th>
  188. <th></th>
  189. </tr>
  190. </thead>
  191. <tbody>
  192. <tr>
  193. <td><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html">IllegalArgumentException</a></td>
  194. <td>if this enum type has no constant with the specified name</td>
  195. </tr>
  196. </tbody>
  197. </table>
  198. </article>
  199. </div>
  200. <script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
  201. </div>
  202. <button type="button" class="md-top md-icon" data-md-component="top" hidden>
  203. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12Z"/></svg>
  204. Back to top
  205. </button>
  206. </main>
  207. <footer class="md-footer">
  208. <div class="md-footer-meta md-typeset">
  209. <div class="md-footer-meta__inner md-grid">
  210. <div class="md-copyright">
  211. Made with
  212. <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
  213. Material for MkDocs
  214. </a>
  215. </div>
  216. </div>
  217. </div>
  218. </footer>
  219. </div>
  220. <div class="md-dialog" data-md-component="dialog">
  221. <div class="md-dialog__inner md-typeset"></div>
  222. </div>
  223. <script id="__config" type="application/json">{"base": "../../../../../..", "features": ["navigation.sections", "navigation.footer", "navigation.top"], "search": "../../../../../../assets/javascripts/workers/search.b8dbb3d2.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
  224. <script src="../../../../../../assets/javascripts/bundle.af256bd8.min.js"></script>
  225. <script id="init-glightbox">const lightbox = GLightbox({"touchNavigation": true, "loop": false, "zoomable": true, "draggable": true, "openEffect": "zoom", "closeEffect": "zoom", "slideEffect": "slide"});
  226. document$.subscribe(() => { lightbox.reload() });
  227. </script></body>
  228. </html>