aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/aidl
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/main/aidl')
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IDeathCallback_0_8.aidl18
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IOnBufferingUpdateListenerCallback_0_8.aidl19
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IOnCompletionListenerCallback_0_8.aidl19
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IOnErrorListenerCallback_0_8.aidl19
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IOnInfoListenerCallback_0_8.aidl19
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IOnPitchAdjustmentAvailableChangedListenerCallback_0_8.aidl19
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IOnPreparedListenerCallback_0_8.aidl19
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IOnSeekCompleteListenerCallback_0_8.aidl19
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8.aidl19
-rw-r--r--library/src/main/aidl/com/aocate/presto/service/IPlayMedia_0_8.aidl75
10 files changed, 245 insertions, 0 deletions
diff --git a/library/src/main/aidl/com/aocate/presto/service/IDeathCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IDeathCallback_0_8.aidl
new file mode 100644
index 0000000..6bdc768
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IDeathCallback_0_8.aidl
@@ -0,0 +1,18 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+oneway interface IDeathCallback_0_8 {
+} \ No newline at end of file
diff --git a/library/src/main/aidl/com/aocate/presto/service/IOnBufferingUpdateListenerCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IOnBufferingUpdateListenerCallback_0_8.aidl
new file mode 100644
index 0000000..7357e40
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IOnBufferingUpdateListenerCallback_0_8.aidl
@@ -0,0 +1,19 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+interface IOnBufferingUpdateListenerCallback_0_8 {
+ void onBufferingUpdate(int percent);
+} \ No newline at end of file
diff --git a/library/src/main/aidl/com/aocate/presto/service/IOnCompletionListenerCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IOnCompletionListenerCallback_0_8.aidl
new file mode 100644
index 0000000..d5edea7
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IOnCompletionListenerCallback_0_8.aidl
@@ -0,0 +1,19 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+interface IOnCompletionListenerCallback_0_8 {
+ void onCompletion();
+} \ No newline at end of file
diff --git a/library/src/main/aidl/com/aocate/presto/service/IOnErrorListenerCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IOnErrorListenerCallback_0_8.aidl
new file mode 100644
index 0000000..2c4f2df
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IOnErrorListenerCallback_0_8.aidl
@@ -0,0 +1,19 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+interface IOnErrorListenerCallback_0_8 {
+ boolean onError(int what, int extra);
+}
diff --git a/library/src/main/aidl/com/aocate/presto/service/IOnInfoListenerCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IOnInfoListenerCallback_0_8.aidl
new file mode 100644
index 0000000..9dbd1d2
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IOnInfoListenerCallback_0_8.aidl
@@ -0,0 +1,19 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+interface IOnInfoListenerCallback_0_8 {
+ boolean onInfo(int what, int extra);
+} \ No newline at end of file
diff --git a/library/src/main/aidl/com/aocate/presto/service/IOnPitchAdjustmentAvailableChangedListenerCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IOnPitchAdjustmentAvailableChangedListenerCallback_0_8.aidl
new file mode 100644
index 0000000..41223a9
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IOnPitchAdjustmentAvailableChangedListenerCallback_0_8.aidl
@@ -0,0 +1,19 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+interface IOnPitchAdjustmentAvailableChangedListenerCallback_0_8 {
+ void onPitchAdjustmentAvailableChanged(boolean pitchAdjustmentAvailable);
+} \ No newline at end of file
diff --git a/library/src/main/aidl/com/aocate/presto/service/IOnPreparedListenerCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IOnPreparedListenerCallback_0_8.aidl
new file mode 100644
index 0000000..7be8f12
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IOnPreparedListenerCallback_0_8.aidl
@@ -0,0 +1,19 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+interface IOnPreparedListenerCallback_0_8 {
+ void onPrepared();
+} \ No newline at end of file
diff --git a/library/src/main/aidl/com/aocate/presto/service/IOnSeekCompleteListenerCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IOnSeekCompleteListenerCallback_0_8.aidl
new file mode 100644
index 0000000..5bdda98
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IOnSeekCompleteListenerCallback_0_8.aidl
@@ -0,0 +1,19 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+interface IOnSeekCompleteListenerCallback_0_8 {
+ void onSeekComplete();
+} \ No newline at end of file
diff --git a/library/src/main/aidl/com/aocate/presto/service/IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8.aidl
new file mode 100644
index 0000000..a69c1cf
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8.aidl
@@ -0,0 +1,19 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+interface IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8 {
+ void onSpeedAdjustmentAvailableChanged(boolean speedAdjustmentAvailable);
+} \ No newline at end of file
diff --git a/library/src/main/aidl/com/aocate/presto/service/IPlayMedia_0_8.aidl b/library/src/main/aidl/com/aocate/presto/service/IPlayMedia_0_8.aidl
new file mode 100644
index 0000000..12a6047
--- /dev/null
+++ b/library/src/main/aidl/com/aocate/presto/service/IPlayMedia_0_8.aidl
@@ -0,0 +1,75 @@
+// Copyright 2011, Aocate, Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.aocate.presto.service;
+
+import com.aocate.presto.service.IDeathCallback_0_8;
+import com.aocate.presto.service.IOnBufferingUpdateListenerCallback_0_8;
+import com.aocate.presto.service.IOnCompletionListenerCallback_0_8;
+import com.aocate.presto.service.IOnErrorListenerCallback_0_8;
+import com.aocate.presto.service.IOnPitchAdjustmentAvailableChangedListenerCallback_0_8;
+import com.aocate.presto.service.IOnPreparedListenerCallback_0_8;
+import com.aocate.presto.service.IOnSeekCompleteListenerCallback_0_8;
+import com.aocate.presto.service.IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8;
+import com.aocate.presto.service.IOnInfoListenerCallback_0_8;
+
+interface IPlayMedia_0_8 {
+ boolean canSetPitch(long sessionId);
+ boolean canSetSpeed(long sessionId);
+ float getCurrentPitchStepsAdjustment(long sessionId);
+ int getCurrentPosition(long sessionId);
+ float getCurrentSpeedMultiplier(long sessionId);
+ int getDuration(long sessionId);
+ float getMaxSpeedMultiplier(long sessionId);
+ float getMinSpeedMultiplier(long sessionId);
+ int getVersionCode();
+ String getVersionName();
+ boolean isLooping(long sessionId);
+ boolean isPlaying(long sessionId);
+ void pause(long sessionId);
+ void prepare(long sessionId);
+ void prepareAsync(long sessionId);
+ void registerOnBufferingUpdateCallback(long sessionId, IOnBufferingUpdateListenerCallback_0_8 cb);
+ void registerOnCompletionCallback(long sessionId, IOnCompletionListenerCallback_0_8 cb);
+ void registerOnErrorCallback(long sessionId, IOnErrorListenerCallback_0_8 cb);
+ void registerOnInfoCallback(long sessionId, IOnInfoListenerCallback_0_8 cb);
+ void registerOnPitchAdjustmentAvailableChangedCallback(long sessionId, IOnPitchAdjustmentAvailableChangedListenerCallback_0_8 cb);
+ void registerOnPreparedCallback(long sessionId, IOnPreparedListenerCallback_0_8 cb);
+ void registerOnSeekCompleteCallback(long sessionId, IOnSeekCompleteListenerCallback_0_8 cb);
+ void registerOnSpeedAdjustmentAvailableChangedCallback(long sessionId, IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8 cb);
+ void release(long sessionId);
+ void reset(long sessionId);
+ void seekTo(long sessionId, int msec);
+ void setAudioStreamType(long sessionId, int streamtype);
+ void setDataSourceString(long sessionId, String path);
+ void setDataSourceUri(long sessionId, in Uri uri);
+ void setEnableSpeedAdjustment(long sessionId, boolean enableSpeedAdjustment);
+ void setLooping(long sessionId, boolean looping);
+ void setPitchStepsAdjustment(long sessionId, float pitchSteps);
+ void setPlaybackPitch(long sessionId, float f);
+ void setPlaybackSpeed(long sessionId, float f);
+ void setSpeedAdjustmentAlgorithm(long sessionId, int algorithm);
+ void setVolume(long sessionId, float left, float right);
+ void start(long sessionId);
+ long startSession(IDeathCallback_0_8 cb);
+ void stop(long sessionId);
+ void unregisterOnBufferingUpdateCallback(long sessionId, IOnBufferingUpdateListenerCallback_0_8 cb);
+ void unregisterOnCompletionCallback(long sessionId, IOnCompletionListenerCallback_0_8 cb);
+ void unregisterOnErrorCallback(long sessionId, IOnErrorListenerCallback_0_8 cb);
+ void unregisterOnInfoCallback(long sessionId, IOnInfoListenerCallback_0_8 cb);
+ void unregisterOnPitchAdjustmentAvailableChangedCallback(long sessionId, IOnPitchAdjustmentAvailableChangedListenerCallback_0_8 cb);
+ void unregisterOnPreparedCallback(long sessionId, IOnPreparedListenerCallback_0_8 cb);
+ void unregisterOnSeekCompleteCallback(long sessionId, IOnSeekCompleteListenerCallback_0_8 cb);
+ void unregisterOnSpeedAdjustmentAvailableChangedCallback(long sessionId, IOnSpeedAdjustmentAvailableChangedListenerCallback_0_8 cb);
+} \ No newline at end of file