ZDK
IRingBackToneControl.h
1 #ifndef __IRINGBACKTONECONTROL__
2 #define __IRINGBACKTONECONTROL__
3 
4 #include "IZHandle.h"
5 
6 namespace ZDK
7 {
8 
9 //# @abi(all) documentation
14 //# @abi(obj_c) skip_pool
15 class IRingBackToneControl : public virtual ZDK::IZHandle
16 {
17 public:
18  //# @abi(all) documentation
27  virtual ZDK::Shared::Result Play() = 0;
28 
29  //# @abi(all) documentation
38  virtual ZDK::Shared::Result Stop() = 0;
39 
40  //# @abi(all) documentation
49  //# @abi(jni|obj_c) property
50  virtual bool Enable() = 0;
51 
52  //# @abi(all) documentation
61  //# @abi(jni|obj_c) property
62  virtual void Enable(bool value) = 0;
63 };
64 
65 } //namespace ZDK
66 
67 #endif //__IRINGBACKTONECONTROL__
Definition: IZHandle.h:12
Ringback tone's main entry point.
Definition: IRingBackToneControl.h:15
virtual ZDK::Shared::Result Stop()=0
Stops the playing of the ringback tone.
virtual bool Enable()=0
Configures the use of ringback tone.
Definition: IAccountConfig.h:10
virtual ZDK::Shared::Result Play()=0
Starts the ringback tone playing.