skype4py.profile-pysrc.html
来自「基于python的skype的API的说明文档」· HTML 代码 · 共 273 行 · 第 1/5 页
HTML
273 行
<a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"><tt class="py-string"> @type: datetime.date</tt> </tt><a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"><tt class="py-string"> '''</tt><tt class="py-op">)</tt> </tt><a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> </tt><a name="IProfile._GetCallApplyCF"></a><div id="IProfile._GetCallApplyCF-def"><a name="L104"></a><tt class="py-lineno">104</tt> <a class="py-toggle" href="#" id="IProfile._GetCallApplyCF-toggle" onclick="return toggle('IProfile._GetCallApplyCF');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_GetCallApplyCF">_GetCallApplyCF</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._GetCallApplyCF-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._GetCallApplyCF-expanded"><a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CALL_APPLY_CF'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">'TRUE'</tt> </tt></div><a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"> </tt><a name="IProfile._SetCallApplyCF"></a><div id="IProfile._SetCallApplyCF-def"><a name="L107"></a><tt class="py-lineno">107</tt> <a class="py-toggle" href="#" id="IProfile._SetCallApplyCF-toggle" onclick="return toggle('IProfile._SetCallApplyCF');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_SetCallApplyCF">_SetCallApplyCF</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._SetCallApplyCF-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._SetCallApplyCF-expanded"><a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CALL_APPLY_CF'</tt><tt class="py-op">,</tt> <tt id="link-20" class="py-name" targets="Function Skype4Py.utils.cndexp()=Skype4Py.utils-module.html#cndexp"><a title="Skype4Py.utils.cndexp" class="py-name" href="#" onclick="return doclink('link-20', 'cndexp', 'link-20');">cndexp</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt class="py-string">'TRUE'</tt><tt class="py-op">,</tt> <tt class="py-string">'FALSE'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt></div><a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> </tt><a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"> <tt id="link-21" class="py-name" targets="Variable Skype4Py.profile.IProfile.CallApplyCF=Skype4Py.profile.IProfile-class.html#CallApplyCF"><a title="Skype4Py.profile.IProfile.CallApplyCF" class="py-name" href="#" onclick="return doclink('link-21', 'CallApplyCF', 'link-21');">CallApplyCF</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-22" class="py-name" targets="Method Skype4Py.profile.IProfile._GetCallApplyCF()=Skype4Py.profile.IProfile-class.html#_GetCallApplyCF"><a title="Skype4Py.profile.IProfile._GetCallApplyCF" class="py-name" href="#" onclick="return doclink('link-22', '_GetCallApplyCF', 'link-22');">_GetCallApplyCF</a></tt><tt class="py-op">,</tt> <tt id="link-23" class="py-name" targets="Method Skype4Py.profile.IProfile._SetCallApplyCF()=Skype4Py.profile.IProfile-class.html#_SetCallApplyCF"><a title="Skype4Py.profile.IProfile._SetCallApplyCF" class="py-name" href="#" onclick="return doclink('link-23', '_SetCallApplyCF', 'link-23');">_SetCallApplyCF</a></tt><tt class="py-op">,</tt> </tt><a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">'''Tells if call forwarding is enabled in the profile.</tt> </tt><a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"><tt class="py-string"></tt> </tt><a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"><tt class="py-string"> @type: bool</tt> </tt><a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"><tt class="py-string"> '''</tt><tt class="py-op">)</tt> </tt><a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> </tt><a name="IProfile._GetCallForwardRules"></a><div id="IProfile._GetCallForwardRules-def"><a name="L116"></a><tt class="py-lineno">116</tt> <a class="py-toggle" href="#" id="IProfile._GetCallForwardRules-toggle" onclick="return toggle('IProfile._GetCallForwardRules');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_GetCallForwardRules">_GetCallForwardRules</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._GetCallForwardRules-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._GetCallForwardRules-expanded"><a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CALL_FORWARD_RULES'</tt><tt class="py-op">)</tt> </tt></div><a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> </tt><a name="IProfile._SetCallForwardRules"></a><div id="IProfile._SetCallForwardRules-def"><a name="L119"></a><tt class="py-lineno">119</tt> <a class="py-toggle" href="#" id="IProfile._SetCallForwardRules-toggle" onclick="return toggle('IProfile._SetCallForwardRules');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_SetCallForwardRules">_SetCallForwardRules</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._SetCallForwardRules-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._SetCallForwardRules-expanded"><a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CALL_FORWARD_RULES'</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> </tt></div><a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> </tt><a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt id="link-24" class="py-name" targets="Variable Skype4Py.profile.IProfile.CallForwardRules=Skype4Py.profile.IProfile-class.html#CallForwardRules"><a title="Skype4Py.profile.IProfile.CallForwardRules" class="py-name" href="#" onclick="return doclink('link-24', 'CallForwardRules', 'link-24');">CallForwardRules</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-25" class="py-name" targets="Method Skype4Py.profile.IProfile._GetCallForwardRules()=Skype4Py.profile.IProfile-class.html#_GetCallForwardRules"><a title="Skype4Py.profile.IProfile._GetCallForwardRules" class="py-name" href="#" onclick="return doclink('link-25', '_GetCallForwardRules', 'link-25');">_GetCallForwardRules</a></tt><tt class="py-op">,</tt> <tt id="link-26" class="py-name" targets="Method Skype4Py.profile.IProfile._SetCallForwardRules()=Skype4Py.profile.IProfile-class.html#_SetCallForwardRules"><a title="Skype4Py.profile.IProfile._SetCallForwardRules" class="py-name" href="#" onclick="return doclink('link-26', '_SetCallForwardRules', 'link-26');">_SetCallForwardRules</a></tt><tt class="py-op">,</tt> </tt><a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">'''Call forwarding rules of the profile.</tt> </tt><a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"><tt class="py-string"></tt> </tt><a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"><tt class="py-string"> @type: unicode</tt> </tt><a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"><tt class="py-string"> '''</tt><tt class="py-op">)</tt> </tt><a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> </tt><a name="IProfile._GetCallNoAnswerTimeout"></a><div id="IProfile._GetCallNoAnswerTimeout-def"><a name="L128"></a><tt class="py-lineno">128</tt> <a class="py-toggle" href="#" id="IProfile._GetCallNoAnswerTimeout-toggle" onclick="return toggle('IProfile._GetCallNoAnswerTimeout');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_GetCallNoAnswerTimeout">_GetCallNoAnswerTimeout</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._GetCallNoAnswerTimeout-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._GetCallNoAnswerTimeout-expanded"><a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CALL_NOANSWER_TIMEOUT'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt></div><a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> </tt><a name="IProfile._SetCallNoAnswerTimeout"></a><div id="IProfile._SetCallNoAnswerTimeout-def"><a name="L131"></a><tt class="py-lineno">131</tt> <a class="py-toggle" href="#" id="IProfile._SetCallNoAnswerTimeout-toggle" onclick="return toggle('IProfile._SetCallNoAnswerTimeout');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_SetCallNoAnswerTimeout">_SetCallNoAnswerTimeout</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._SetCallNoAnswerTimeout-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._SetCallNoAnswerTimeout-expanded"><a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CALL_NOANSWER_TIMEOUT'</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> </tt></div><a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> </tt><a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> <tt id="link-27" class="py-name" targets="Variable Skype4Py.profile.IProfile.CallNoAnswerTimeout=Skype4Py.profile.IProfile-class.html#CallNoAnswerTimeout"><a title="Skype4Py.profile.IProfile.CallNoAnswerTimeout" class="py-name" href="#" onclick="return doclink('link-27', 'CallNoAnswerTimeout', 'link-27');">CallNoAnswerTimeout</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-28" class="py-name" targets="Method Skype4Py.profile.IProfile._GetCallNoAnswerTimeout()=Skype4Py.profile.IProfile-class.html#_GetCallNoAnswerTimeout"><a title="Skype4Py.profile.IProfile._GetCallNoAnswerTimeout" class="py-name" href="#" onclick="return doclink('link-28', '_GetCallNoAnswerTimeout', 'link-28');">_GetCallNoAnswerTimeout</a></tt><tt class="py-op">,</tt> <tt id="link-29" class="py-name" targets="Method Skype4Py.profile.IProfile._SetCallNoAnswerTimeout()=Skype4Py.profile.IProfile-class.html#_SetCallNoAnswerTimeout"><a title="Skype4Py.profile.IProfile._SetCallNoAnswerTimeout" class="py-name" href="#" onclick="return doclink('link-29', '_SetCallNoAnswerTimeout', 'link-29');">_SetCallNoAnswerTimeout</a></tt><tt class="py-op">,</tt> </tt><a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">'''Number of seconds a call will ring without being answered before it stops ringing.</tt> </tt><a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"><tt class="py-string"></tt> </tt><a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"><tt class="py-string"> @type: int</tt> </tt><a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"><tt class="py-string"> '''</tt><tt class="py-op">)</tt> </tt><a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> </tt><a name="IProfile._GetCallSendToVM"></a><div id="IProfile._GetCallSendToVM-def"><a name="L140"></a><tt class="py-lineno">140</tt> <a class="py-toggle" href="#" id="IProfile._GetCallSendToVM-toggle" onclick="return toggle('IProfile._GetCallSendToVM');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_GetCallSendToVM">_GetCallSendToVM</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._GetCallSendToVM-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._GetCallSendToVM-expanded"><a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CALL_SEND_TO_VM'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">'TRUE'</tt> </tt></div><a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> </tt><a name="IProfile._SetCallSendToVM"></a><div id="IProfile._SetCallSendToVM-def"><a name="L143"></a><tt class="py-lineno">143</tt> <a class="py-toggle" href="#" id="IProfile._SetCallSendToVM-toggle" onclick="return toggle('IProfile._SetCallSendToVM');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_SetCallSendToVM">_SetCallSendToVM</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._SetCallSendToVM-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._SetCallSendToVM-expanded"><a name="L144"></a><tt class="py-lineno">144</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CALL_SEND_TO_VM'</tt><tt class="py-op">,</tt> <tt id="link-30" class="py-name"><a title="Skype4Py.utils.cndexp" class="py-name" href="#" onclick="return doclink('link-30', 'cndexp', 'link-20');">cndexp</a></tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt class="py-string">'TRUE'</tt><tt class="py-op">,</tt> <tt class="py-string">'FALSE'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt></div><a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> </tt><a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line"> <tt id="link-31" class="py-name" targets="Variable Skype4Py.profile.IProfile.CallSendToVM=Skype4Py.profile.IProfile-class.html#CallSendToVM"><a title="Skype4Py.profile.IProfile.CallSendToVM" class="py-name" href="#" onclick="return doclink('link-31', 'CallSendToVM', 'link-31');">CallSendToVM</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-32" class="py-name" targets="Method Skype4Py.profile.IProfile._GetCallSendToVM()=Skype4Py.profile.IProfile-class.html#_GetCallSendToVM"><a title="Skype4Py.profile.IProfile._GetCallSendToVM" class="py-name" href="#" onclick="return doclink('link-32', '_GetCallSendToVM', 'link-32');">_GetCallSendToVM</a></tt><tt class="py-op">,</tt> <tt id="link-33" class="py-name" targets="Method Skype4Py.profile.IProfile._SetCallSendToVM()=Skype4Py.profile.IProfile-class.html#_SetCallSendToVM"><a title="Skype4Py.profile.IProfile._SetCallSendToVM" class="py-name" href="#" onclick="return doclink('link-33', '_SetCallSendToVM', 'link-33');">_SetCallSendToVM</a></tt><tt class="py-op">,</tt> </tt><a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">'''Tells whether calls will be sent to the voicemail.</tt> </tt><a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"><tt class="py-string"></tt> </tt><a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"><tt class="py-string"> @type: bool</tt> </tt><a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"><tt class="py-string"> '''</tt><tt class="py-op">)</tt> </tt><a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> </tt><a name="IProfile._GetCity"></a><div id="IProfile._GetCity-def"><a name="L152"></a><tt class="py-lineno">152</tt> <a class="py-toggle" href="#" id="IProfile._GetCity-toggle" onclick="return toggle('IProfile._GetCity');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_GetCity">_GetCity</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="IProfile._GetCity-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="IProfile._GetCity-expanded"><a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_Property</tt><tt class="py-op">(</tt><tt class="py-string">'CITY'</tt><tt class="py-op">)</tt> </tt></div><a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> </tt><a name="IProfile._SetCity"></a><div id="IProfile._SetCity-def"><a name="L155"></a><tt class="py-lineno">155</tt> <a class="py-toggle" href="#" id="IProfile._SetCity-toggle" onclick="return toggle('IProfile._SetCity');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.profile.IProfile-class.html#_SetCity">_SetCity</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?