Repository navigation
Expand file tree
/
Copy pathclasses.html
More file actions
688 lines (358 loc) · 19.6 KB
/
Copy pathclasses.html
File metadata and controls
688 lines (358 loc) · 19.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<link rel="shortcut icon" type="image/x-icon" href="../assets/images/favicon.ico" />
<title>Class Index | Xposed Framework API</title>
<!-- STYLESHEETS -->
<link rel="stylesheet"
href="http://fonts.googleapis.com/css?family=Roboto+Condensed">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
title="roboto">
<link href="../assets/css/default.css?v=7" rel="stylesheet" type="text/css">
<!-- FULLSCREEN STYLESHEET -->
<link href="../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen"
type="text/css">
<!-- JAVASCRIPT -->
<script src="../assets/js/android_3p-bundle.js" type="text/javascript"></script>
<script type="text/javascript">
var toRoot = "../";
var metaTags = [];
var devsite = false;
</script>
<script src="../assets/js/docs.js?v=6" type="text/javascript"></script>
</head>
<body class="gc-documentation
develop reference" itemscope itemtype="http://schema.org/Article">
<a name="top"></a>
<a name="top"></a>
<!-- Header -->
<div id="header-wrapper">
<div class="dac-header" id="header">
<div class="dac-header-inner">
<a class="dac-header-logo" href="../reference/packages.html">
<img class="dac-header-logo-image" src="../assets/images/xposed_logo.png"
srcset="../assets/images/xposed_logo@2x.png 2x"
width="36" height="36" alt="Xposed logo" /> Xposed Framework API
</a>
</div>
</div>
</div><!-- headerwrapper -->
<div class="wrap clearfix" id="body-content"><div class="cols">
<div class="col-4 dac-hidden-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
<div id="devdoc-nav">
<div id="api-nav-header">
<div id="api-level-toggle">
<label for="apiLevelCheckbox" class="disabled"
title="Select your target API level to dim unavailable APIs">API level: </label>
<div class="select-wrapper">
<select id="apiLevelSelector">
<!-- option elements added by buildApiLevelSelector() -->
</select>
</div>
</div><!-- end toggle -->
<div id="api-nav-title">Xposed</div>
</div><!-- end nav header -->
<script>
var SINCE_DATA = [ '', '36', '37', '39', '42', '50', '51', '52', '53', '60', '63', '65', '81', '82' ];
buildApiLevelSelector();
</script>
<div id="swapper">
<div id="nav-panels">
<div id="resize-packages-nav">
<div id="packages-nav" class="scroll-pane">
<ul>
<li class="api apilevel-">
<a href="../reference/android/app/package-summary.html">android.app</a></li>
<li class="api apilevel-">
<a href="../reference/android/content/res/package-summary.html">android.content.res</a></li>
<li class="api apilevel-">
<a href="../reference/de/robv/android/xposed/package-summary.html">de.robv.android.xposed</a></li>
<li class="api apilevel-">
<a href="../reference/de/robv/android/xposed/callbacks/package-summary.html">de.robv.android.xposed.callbacks</a></li>
<li class="api apilevel-60">
<a href="../reference/de/robv/android/xposed/services/package-summary.html">de.robv.android.xposed.services</a></li>
</ul><br/>
</div> <!-- end packages-nav -->
</div> <!-- end resize-packages -->
<div id="classes-nav" class="scroll-pane">
<p style="padding:10px">Select a package to view its members</p><br/>
</div><!-- end classes -->
</div><!-- end nav-panels -->
<div id="nav-tree" style="display:none" class="scroll-pane">
<div id="tree-list"></div>
</div><!-- end nav-tree -->
</div><!-- end swapper -->
<div id="nav-swap">
<a class="fullscreen">fullscreen</a>
<a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>
</div>
</div> <!-- end devdoc-nav -->
</div> <!-- end side-nav -->
<script type="text/javascript">
// init fullscreen based on user pref
var fullscreen = readCookie("fullscreen");
if (fullscreen != 0) {
if (fullscreen == "false") {
toggleFullscreen(false);
} else {
toggleFullscreen(true);
}
}
// init nav version for mobile
if (isMobile) {
swapNav(); // tree view should be used on mobile
$('#nav-swap').hide();
} else {
chooseDefaultNav();
if ($("#nav-tree").is(':visible')) {
init_default_navtree("../");
}
}
// scroll the selected page into view
$(document).ready(function() {
scrollIntoView("packages-nav");
scrollIntoView("classes-nav");
});
</script>
<div class="col-12" id="doc-col">
<div id="jd-header">
<h1>Class Index</h1>
</div>
<div id="jd-content">
<p>These are the Xposed Framework API classes. See all <a href="packages.html">API packages</a>.</p>
<div class="jd-letterlist">
<a href="#letter_A">A</a>
<a href="#letter_B">B</a>
<a href="#letter_F">F</a>
<a href="#letter_I">I</a>
<a href="#letter_S">S</a>
<a href="#letter_X">X</a>
</div>
<h2 id="letter_A">A</h2>
<table class="jd-sumtable">
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/android/app/AndroidAppHelper.html">AndroidAppHelper</a></td>
<td class="jd-descrcol" width="100%">
Contains various methods for information about the current app.
</td>
</tr>
</table>
<h2 id="letter_B">B</h2>
<table class="jd-sumtable">
<tr class="alt-color api apilevel-60" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/services/BaseService.html">BaseService</a></td>
<td class="jd-descrcol" width="100%">
General definition of a file access service provided by the Xposed framework.
</td>
</tr>
</table>
<h2 id="letter_F">F</h2>
<table class="jd-sumtable">
<tr class="alt-color api apilevel-60" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/services/FileResult.html">FileResult</a></td>
<td class="jd-descrcol" width="100%">
Holder for the result of a <code><a href="../reference/de/robv/android/xposed/services/BaseService.html#readFile(java.lang.String)">BaseService.readFile(String)</a></code> or <code><a href="../reference/de/robv/android/xposed/services/BaseService.html#statFile(java.lang.String)">BaseService.statFile(String)</a></code> call.
</td>
</tr>
</table>
<h2 id="letter_I">I</h2>
<table class="jd-sumtable">
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/IXposedHookInitPackageResources.html">IXposedHookInitPackageResources</a></td>
<td class="jd-descrcol" width="100%">
Get notified when the resources for an app are initialized.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/IXposedHookLoadPackage.html">IXposedHookLoadPackage</a></td>
<td class="jd-descrcol" width="100%">
Get notified when an app ("Android package") is loaded.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/IXposedHookZygoteInit.html">IXposedHookZygoteInit</a></td>
<td class="jd-descrcol" width="100%">
Hook the initialization of Zygote process(es), from which all the apps are forked.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/IXposedHookZygoteInit.StartupParam.html">IXposedHookZygoteInit.StartupParam</a></td>
<td class="jd-descrcol" width="100%">
Data holder for <code><a href="../reference/de/robv/android/xposed/IXposedHookZygoteInit.html#initZygote(de.robv.android.xposed.IXposedHookZygoteInit.StartupParam)">IXposedHookZygoteInit.initZygote(IXposedHookZygoteInit.StartupParam)</a></code>.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/IXUnhook.html">IXUnhook</a><T></td>
<td class="jd-descrcol" width="100%">
Interface for objects that can be used to remove callbacks.
</td>
</tr>
</table>
<h2 id="letter_S">S</h2>
<table class="jd-sumtable">
<tr class="alt-color api apilevel-60" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/SELinuxHelper.html">SELinuxHelper</a></td>
<td class="jd-descrcol" width="100%">
A helper to work with (or without) SELinux, abstracting much of its big complexity.
</td>
</tr>
</table>
<h2 id="letter_X">X</h2>
<table class="jd-sumtable">
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XC_InitPackageResources.html">XC_InitPackageResources</a></td>
<td class="jd-descrcol" width="100%">
This class is only used for internal purposes, except for the <code><a href="../reference/de/robv/android/xposed/callbacks/XC_InitPackageResources.InitPackageResourcesParam.html">XC_InitPackageResources.InitPackageResourcesParam</a></code>
subclass.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XC_InitPackageResources.InitPackageResourcesParam.html">XC_InitPackageResources.InitPackageResourcesParam</a></td>
<td class="jd-descrcol" width="100%">
Wraps information about the resources being initialized.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XC_LayoutInflated.html">XC_LayoutInflated</a></td>
<td class="jd-descrcol" width="100%">
Callback for hooking layouts.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XC_LayoutInflated.LayoutInflatedParam.html">XC_LayoutInflated.LayoutInflatedParam</a></td>
<td class="jd-descrcol" width="100%">
Wraps information about the inflated layout.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XC_LayoutInflated.Unhook.html">XC_LayoutInflated.Unhook</a></td>
<td class="jd-descrcol" width="100%">
An object with which the callback can be removed.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XC_LoadPackage.html">XC_LoadPackage</a></td>
<td class="jd-descrcol" width="100%">
This class is only used for internal purposes, except for the <code><a href="../reference/de/robv/android/xposed/callbacks/XC_LoadPackage.LoadPackageParam.html">XC_LoadPackage.LoadPackageParam</a></code>
subclass.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XC_LoadPackage.LoadPackageParam.html">XC_LoadPackage.LoadPackageParam</a></td>
<td class="jd-descrcol" width="100%">
Wraps information about the app being loaded.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XC_MethodHook.html">XC_MethodHook</a></td>
<td class="jd-descrcol" width="100%">
Callback class for method hooks.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XC_MethodHook.MethodHookParam.html">XC_MethodHook.MethodHookParam</a></td>
<td class="jd-descrcol" width="100%">
Wraps information about the method call and allows to influence it.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XC_MethodHook.Unhook.html">XC_MethodHook.Unhook</a></td>
<td class="jd-descrcol" width="100%">
An object with which the method/constructor can be unhooked.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XC_MethodReplacement.html">XC_MethodReplacement</a></td>
<td class="jd-descrcol" width="100%">
A special case of <code><a href="../reference/de/robv/android/xposed/XC_MethodHook.html">XC_MethodHook</a></code> which completely replaces the original method.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XCallback.html">XCallback</a></td>
<td class="jd-descrcol" width="100%">
Base class for Xposed callbacks.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/callbacks/XCallback.Param.html">XCallback.Param</a></td>
<td class="jd-descrcol" width="100%">
Base class for Xposed callback parameters.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/android/content/res/XModuleResources.html">XModuleResources</a></td>
<td class="jd-descrcol" width="100%">
Provides access to resources from a certain path (usually the module's own path).
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XposedBridge.html">XposedBridge</a></td>
<td class="jd-descrcol" width="100%">
This class contains most of Xposed's central logic, such as initialization and callbacks used by
the native side.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XposedHelpers.html">XposedHelpers</a></td>
<td class="jd-descrcol" width="100%">
Helpers that simplify hooking and calling methods/constructors, getting and settings fields, ...
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XposedHelpers.ClassNotFoundError.html">XposedHelpers.ClassNotFoundError</a></td>
<td class="jd-descrcol" width="100%">
Thrown when a class loader is unable to find a class.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XposedHelpers.InvocationTargetError.html">XposedHelpers.InvocationTargetError</a></td>
<td class="jd-descrcol" width="100%">
This class provides a wrapper for an exception thrown by a method invocation.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/android/content/res/XResForwarder.html">XResForwarder</a></td>
<td class="jd-descrcol" width="100%">
Instances of this class can be used for <code><a href="../reference/android/content/res/XResources.html#setReplacement(java.lang.String, java.lang.String, java.lang.String, java.lang.Object)">XResources.setReplacement(String, String, String, Object)</a></code>
and its variants.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/android/content/res/XResources.html">XResources</a></td>
<td class="jd-descrcol" width="100%">
<code><a href="http://developer.android.com/reference/android/content/res/Resources.html">Resources</a></code> subclass that allows replacing individual resources.
</td>
</tr>
<tr class="alt-color api apilevel-50" >
<td class="jd-linkcol"><a href="../reference/android/content/res/XResources.DimensionReplacement.html">XResources.DimensionReplacement</a></td>
<td class="jd-descrcol" width="100%">
Callback for dimension replacements.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/android/content/res/XResources.DrawableLoader.html">XResources.DrawableLoader</a></td>
<td class="jd-descrcol" width="100%">
Callback for drawable replacements.
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../reference/android/content/res/XResources.ResourceNames.html">XResources.ResourceNames</a></td>
<td class="jd-descrcol" width="100%">
Wrapper for information about an indiviual resource.
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../reference/de/robv/android/xposed/XSharedPreferences.html">XSharedPreferences</a></td>
<td class="jd-descrcol" width="100%">
This class is basically the same as SharedPreferencesImpl from AOSP, but
read-only and without listeners support.
</td>
</tr>
</table>
</div><!-- end jd-content -->
</div><!-- end doc-content -->
</body>
</html>