blob: acbd5f8bb5dc9cc88d93e3c70af23635738d2d33 (
plain)
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
|
package com.android.dialer.callrecord;
import com.android.dialer.callrecord.CallRecording;
/**
* Service for recording phone calls. Only one recording may be active at a time
* (i.e. every call to startRecording should be followed by a call to stopRecording).
*/
interface ICallRecorderService {
/**
* Start a recording.
*
* @return true if recording started successfully
*/
boolean startRecording(String phoneNumber, long creationTime);
/**
* stops the current recording
*
* @return call recording data including the output filename
*/
CallRecording stopRecording();
/**
* Recording status
*
* @return true if there is an active recording
*/
boolean isRecording();
/**
* Get recording currently in progress
*
* @return call recording object
*/
CallRecording getActiveRecording();
}
|