当前位置: 首页>>代码示例>>Java>>正文


Java SmsMessage.isReplyPathPresent方法代码示例

本文整理汇总了Java中android.telephony.SmsMessage.isReplyPathPresent方法的典型用法代码示例。如果您正苦于以下问题:Java SmsMessage.isReplyPathPresent方法的具体用法?Java SmsMessage.isReplyPathPresent怎么用?Java SmsMessage.isReplyPathPresent使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在android.telephony.SmsMessage的用法示例。


在下文中一共展示了SmsMessage.isReplyPathPresent方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: IncomingTextMessage

import android.telephony.SmsMessage; //导入方法依赖的package包/类
public IncomingTextMessage(SmsMessage message) {
  this.message              = message.getDisplayMessageBody();
  this.sender               = message.getDisplayOriginatingAddress();
  this.senderDeviceId       = TextSecureAddress.DEFAULT_DEVICE_ID;
  this.protocol             = message.getProtocolIdentifier();
  this.serviceCenterAddress = message.getServiceCenterAddress();
  this.replyPathPresent     = message.isReplyPathPresent();
  this.pseudoSubject        = message.getPseudoSubject();
  this.sentTimestampMillis  = message.getTimestampMillis();
  this.groupId              = null;
  this.push                 = false;
}
 
开发者ID:Agilitum,项目名称:TextSecureSMP,代码行数:13,代码来源:IncomingTextMessage.java

示例2: IncomingTextMessage

import android.telephony.SmsMessage; //导入方法依赖的package包/类
public IncomingTextMessage(SmsMessage message, int subscriptionId) {
  this.message              = message.getDisplayMessageBody();
  this.sender               = message.getDisplayOriginatingAddress();
  this.senderDeviceId       = SignalServiceAddress.DEFAULT_DEVICE_ID;
  this.protocol             = message.getProtocolIdentifier();
  this.serviceCenterAddress = message.getServiceCenterAddress();
  this.replyPathPresent     = message.isReplyPathPresent();
  this.pseudoSubject        = message.getPseudoSubject();
  this.sentTimestampMillis  = message.getTimestampMillis();
  this.subscriptionId       = subscriptionId;
  this.expiresInMillis      = 0;
  this.groupId              = null;
  this.push                 = false;
}
 
开发者ID:XecureIT,项目名称:PeSanKita-android,代码行数:15,代码来源:IncomingTextMessage.java

示例3: IncomingTextMessage

import android.telephony.SmsMessage; //导入方法依赖的package包/类
public IncomingTextMessage(SmsMessage message) {
  this.message              = message.getDisplayMessageBody();
  this.sender               = message.getDisplayOriginatingAddress();
  this.senderDeviceId       = PushAddress.DEFAULT_DEVICE_ID;
  this.protocol             = message.getProtocolIdentifier();
  this.serviceCenterAddress = message.getServiceCenterAddress();
  this.replyPathPresent     = message.isReplyPathPresent();
  this.pseudoSubject        = message.getPseudoSubject();
  this.sentTimestampMillis  = message.getTimestampMillis();
  this.groupId              = null;
  this.push                 = false;
}
 
开发者ID:redcracker,项目名称:TextSecure,代码行数:13,代码来源:IncomingTextMessage.java

示例4: IncomingTextMessage

import android.telephony.SmsMessage; //导入方法依赖的package包/类
public IncomingTextMessage(SmsMessage message, int subscriptionId, boolean receivedWhenLocked) {
  this.message              = message.getDisplayMessageBody();
  this.sender               = message.getDisplayOriginatingAddress();
  this.senderDeviceId       = 1;
  this.protocol             = message.getProtocolIdentifier();
  this.serviceCenterAddress = message.getServiceCenterAddress();
  this.replyPathPresent     = message.isReplyPathPresent();
  this.pseudoSubject        = message.getPseudoSubject();
  this.sentTimestampMillis  = message.getTimestampMillis();
  this.subscriptionId       = subscriptionId;
  this.groupId              = null;
  this.push                 = false;
  this.receivedWhenLocked   = receivedWhenLocked;
}
 
开发者ID:SilenceIM,项目名称:Silence,代码行数:15,代码来源:IncomingTextMessage.java

示例5: IncomingTextMessage

import android.telephony.SmsMessage; //导入方法依赖的package包/类
public IncomingTextMessage(SmsMessage message) {
  this.message              = message.getDisplayMessageBody();
  this.sender               = message.getDisplayOriginatingAddress();
  this.senderDeviceId       = RecipientDevice.DEFAULT_DEVICE_ID;
  this.protocol             = message.getProtocolIdentifier();
  this.serviceCenterAddress = message.getServiceCenterAddress();
  this.replyPathPresent     = message.isReplyPathPresent();
  this.pseudoSubject        = message.getPseudoSubject();
  this.sentTimestampMillis  = message.getTimestampMillis();
  this.groupId              = null;
  this.push                 = false;
}
 
开发者ID:Securecom,项目名称:Securecom-Text,代码行数:13,代码来源:IncomingTextMessage.java


注:本文中的android.telephony.SmsMessage.isReplyPathPresent方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。