📄 cathandler.html
字号:
<DD><DL>
<DT><B>Returns:</B><DD>The Manufacturer string.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getModel()"><!-- --></A><H3>
getModel</H3>
<PRE>
public java.lang.String <B>getModel</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Returns the Model string.<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The Model string.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSerialNo()"><!-- --></A><H3>
getSerialNo</H3>
<PRE>
public java.lang.String <B>getSerialNo</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Returns the GSM Device serial number.<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The GSM Device serial number.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getImsi()"><!-- --></A><H3>
getImsi</H3>
<PRE>
public java.lang.String <B>getImsi</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Returns the IMSI (International Mobile Subscriber Identity).<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The IMSI String.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSwVersion()"><!-- --></A><H3>
getSwVersion</H3>
<PRE>
public java.lang.String <B>getSwVersion</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Returns the GSM device software version.<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The software version.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getBatteryLevel()"><!-- --></A><H3>
getBatteryLevel</H3>
<PRE>
public java.lang.String <B>getBatteryLevel</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Returns the battery level.<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The battery level.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSignalLevel()"><!-- --></A><H3>
getSignalLevel</H3>
<PRE>
public java.lang.String <B>getSignalLevel</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Returns the signal level.<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The signal level.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setStorageMEM()"><!-- --></A><H3>
setStorageMEM</H3>
<PRE>
public boolean <B>setStorageMEM</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Sets the preferred message storage to Memory.<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if operated succeded.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setStorageSIM()"><!-- --></A><H3>
setStorageSIM</H3>
<PRE>
public boolean <B>setStorageSIM</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Sets the preferred message storage to SIM.<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if operated succeded.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="switchToCmdMode()"><!-- --></A><H3>
switchToCmdMode</H3>
<PRE>
public void <B>switchToCmdMode</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Switches GSM device to command mode.<br> <strong>***Critical method***</strong>
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="keepGsmLinkOpen()"><!-- --></A><H3>
keepGsmLinkOpen</H3>
<PRE>
public boolean <B>keepGsmLinkOpen</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Keeps the GSM link open for sending multiple messages in less time.<br> Not critical. If this option is supported, message dispatch may be a little faster.<br> <strong>***Non-Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if operated succeded.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="sendMessage(int, java.lang.String)"><!-- --></A><H3>
sendMessage</H3>
<PRE>
public int <B>sendMessage</B>(int size,
java.lang.String pdu)
throws java.lang.Exception</PRE>
<DL>
<DD>Sends a message.<br> In case of errors, it rerties up to three times to complete the operation before it returns failure.<br> <strong>***Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The SMSC Reference Number on success, -1 on error.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="listMessages(int)"><!-- --></A><H3>
listMessages</H3>
<PRE>
public java.lang.String <B>listMessages</B>(int messageClass)
throws java.lang.Exception</PRE>
<DL>
<DD>Returns the list of messages.<br> <strong>***Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if operated succeded.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="deleteMessage(int)"><!-- --></A><H3>
deleteMessage</H3>
<PRE>
public boolean <B>deleteMessage</B>(int memIndex)
throws java.lang.Exception</PRE>
<DL>
<DD>Deletes a message from GSM device memory.<br> <strong>***Critical method***</strong>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if operated succeded.
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../org/jsmsengine/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<strong>jSMSEngine API v2.0.9</strong><br><strong>Web:</strong><a href=http://www.jsmsengine.org>http://www.jsmsengine.org</a></strong></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../org/jsmsengine/CannotDisableIndicationsException.html" title="class in org.jsmsengine"><B>PREV CLASS</B></A>
<A HREF="../../org/jsmsengine/CATHandler_Nokia.html" title="class in org.jsmsengine"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?org/jsmsengine/CATHandler.html" target="_top"><B>FRAMES</B></A>
<A HREF="CATHandler.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -