-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblocks.xml
More file actions
executable file
·56 lines (47 loc) · 2.54 KB
/
Copy pathblocks.xml
File metadata and controls
executable file
·56 lines (47 loc) · 2.54 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<palette>
<block tag="replaykit-init-recording" spec="Initialize ReplayKit with 'Ask for Preview': %0 [c:replaykit]" code="ReplayKit.init(~);" help="Use this block once in your first (loading)scene, before calling the other blocks. You can set ask for preview, the user get an pop-up to watch the video or not" type="action" color="charcoal" returns="void">
<fields>
<dropdown order="0">
<choices>
<c text="Yes" code="true"></c>
<c text="No" code="false"></c>
</choices>
</dropdown>
</fields>
</block>
<block tag="replaykit-recording-available" spec="replaykit available [c:replaykit]" code="ReplayKit.isRecordingAvailable()" help="Check if ReplayKit is available (running iOS9 =>) If its running iOS9 => on device with A8 chip then initialize ReplayKit" type="normal" color="charcoal" returns="boolean">
<fields>
</fields>
</block>
<block tag="replaykit-start-recording" spec="Start Recording [c:replaykit]" code="ReplayKit.startRecording();" type="action" color="charcoal" returns="void">
<fields>
</fields>
</block>
<block tag="replaykit-stop-recording" spec="Stop Recording [c:replaykit]" code="ReplayKit.stopRecording();" type="action" color="charcoal" returns="void">
<fields>
</fields>
</block>
<block tag="replaykit-is-recording" spec="is recording [c:replaykit]" code="ReplayKit.isRecording()" type="normal" color="charcoal" returns="boolean">
<fields>
</fields>
</block>
<block tag="replaykit-is-cancelled" spec="recording is cancelled [c:replaykit]" code="ReplayKit.isCancelled()" type="normal" color="charcoal" returns="boolean">
<fields>
</fields>
</block>
<block tag="replaykit-previewcontroller" spec="previewController %0 [c:replaykit]" code="ReplayKit.~()" type="normal" color="charcoal" returns="boolean">
<fields>
<dropdown order="0">
<choices>
<c text="did opened" code="previewDidOpened"></c>
<c text="did closed" code="previewDidClosed"></c>
</choices>
</dropdown>
</fields>
</block>
<!--<block tag="replaykit-discard-recording" spec="Discard Recording [c:replaykit]" code="ReplayKit.discardRecording();" type="action" color="charcoal" returns="void">
<fields>
</fields>
</block>-->
</palette>