本文整理匯總了Java中com.matejdro.pebblecommons.pebble.PebbleTalkerService類的典型用法代碼示例。如果您正苦於以下問題:Java PebbleTalkerService類的具體用法?Java PebbleTalkerService怎麽用?Java PebbleTalkerService使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
PebbleTalkerService類屬於com.matejdro.pebblecommons.pebble包,在下文中一共展示了PebbleTalkerService類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: CallModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public CallModule(PebbleTalkerService service)
{
super(service);
service.registerIntent(INTENT_CALL_STATUS, this);
service.registerIntent(INTENT_ACTION_FROM_NOTIFICATION, this);
registerCallAction(new AnswerCallAction(this), AnswerCallAction.ANSWER_ACTION_ID);
registerCallAction(new EndCallAction(this), EndCallAction.END_CALL_ACTION_ID);
registerCallAction(new ToggleRingerAction(this), ToggleRingerAction.TOGGLE_RINGER_ACTION_ID);
registerCallAction(new ToggleMicrophoneAction(this), ToggleMicrophoneAction.TOGGLE_MICROPHONE_ACTION_ID);
registerCallAction(new SMSReplyAction(this), SMSReplyAction.SMS_REPLY_ACTION_ID);
registerCallAction(new ToggleSpeakerAction(this), ToggleSpeakerAction.TOGGLE_SPEAKER_ACTION_ID);
registerCallAction(new AnswerCallWithSpeakerAction(this), AnswerCallWithSpeakerAction.ANSWER_WITH_SPEAKER_ACTION_ID);
registerCallAction(new VolumeDownAction(this), VolumeDownAction.VOLUME_DOWN_ACTION_ID);
registerCallAction(new VolumeUpAction(this), VolumeUpAction.VOLUME_UP_ACTION_ID);
registerCallAction(new DummyAction(this), DummyAction.DUMMY_ACTION_ID);
updateRequired = false;
callerNameUpdateRequired = false;
}
示例2: ContactsModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public ContactsModule(PebbleTalkerService service) {
super(service);
names = new ArrayList<String>();
idSet = new HashSet<Integer>();
ids = new ArrayList<Integer>();
filters = new ArrayList<Integer>();
}
示例3: NotificationSendingModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public NotificationSendingModule(PebbleTalkerService service)
{
super(service);
service.registerIntent(INTENT_NOTIFICATION, this);
service.registerIntent(INTENT_MUTE_APP_TEMPORARILY, this);
service.registerIntent(INTENT_CLEAR_TEMPORARY_MUTES, this);
}
示例4: DismissUpwardsModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public DismissUpwardsModule(PebbleTalkerService service)
{
super(service);
service.registerIntent(INTENT_DISMISS_NOTIFICATION, this);
service.registerIntent(INTENT_DISMISS_PACKAGE, this);
service.registerIntent(INTENT_DISMISS_PEBBLE_ID, this);
service.registerIntent(INTENT_DISMISS_NOTIFICATION_ID, this);
}
示例5: SystemModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public SystemModule(PebbleTalkerService service)
{
super(service);
service.registerIntent(INTENT_PEBBLE_CONNECTED, this);
runOnNext = null;
}
示例6: SMSReplyModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public SMSReplyModule(PebbleTalkerService service)
{
super(service);
}
示例7: get
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static SMSReplyModule get(PebbleTalkerService service)
{
return (SMSReplyModule) service.getModule(MODULE_SMS_REPLIES);
}
示例8: get
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static CallModule get(PebbleTalkerService service)
{
return (CallModule) service.getModule(MODULE_CALL);
}
示例9: CallLogModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public CallLogModule(PebbleTalkerService service) {
super(service);
entries = new ArrayList<CallLogEntry>();
}
示例10: get
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static CallLogModule get(PebbleTalkerService service)
{
return (CallLogModule) service.getModule(MODULE_CALL_LOG);
}
示例11: SystemModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public SystemModule(PebbleTalkerService service)
{
super(service);
runOnNext = null;
}
示例12: get
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static SystemModule get(PebbleTalkerService service)
{
return (SystemModule) service.getModule(MODULE_SYSTEM);
}
示例13: get
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static ContactsModule get(PebbleTalkerService service)
{
return (ContactsModule) service.getModule(MODULE_CONTACTS);
}
示例14: NumberPickerModule
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public NumberPickerModule(PebbleTalkerService service) {
super(service);
phoneNumbers = new ArrayList<PebbleNumberEntry>();
}
示例15: get
import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static NumberPickerModule get(PebbleTalkerService service)
{
return (NumberPickerModule) service.getModule(MODULE_NUMBER_PICKER);
}