當前位置: 首頁>>代碼示例>>Java>>正文


Java PebbleTalkerService類代碼示例

本文整理匯總了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;
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:24,代碼來源:CallModule.java

示例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>();
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:9,代碼來源:ContactsModule.java

示例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);
}
 
開發者ID:matejdro,項目名稱:PebbleNotificationCenter-Android,代碼行數:8,代碼來源:NotificationSendingModule.java

示例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);
}
 
開發者ID:matejdro,項目名稱:PebbleNotificationCenter-Android,代碼行數:10,代碼來源:DismissUpwardsModule.java

示例5: SystemModule

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public SystemModule(PebbleTalkerService service)
{
    super(service);
    service.registerIntent(INTENT_PEBBLE_CONNECTED, this);

    runOnNext = null;
}
 
開發者ID:matejdro,項目名稱:PebbleNotificationCenter-Android,代碼行數:8,代碼來源:SystemModule.java

示例6: SMSReplyModule

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public SMSReplyModule(PebbleTalkerService service)
{
    super(service);
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:5,代碼來源:SMSReplyModule.java

示例7: get

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static SMSReplyModule get(PebbleTalkerService service)
{
    return (SMSReplyModule) service.getModule(MODULE_SMS_REPLIES);
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:5,代碼來源:SMSReplyModule.java

示例8: get

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static CallModule get(PebbleTalkerService service)
{
    return (CallModule) service.getModule(MODULE_CALL);
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:5,代碼來源:CallModule.java

示例9: CallLogModule

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public CallLogModule(PebbleTalkerService service) {
    super(service);

    entries = new ArrayList<CallLogEntry>();
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:6,代碼來源:CallLogModule.java

示例10: get

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static CallLogModule get(PebbleTalkerService service)
{
    return (CallLogModule) service.getModule(MODULE_CALL_LOG);
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:5,代碼來源:CallLogModule.java

示例11: SystemModule

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public SystemModule(PebbleTalkerService service)
{
    super(service);
    runOnNext = null;
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:6,代碼來源:SystemModule.java

示例12: get

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static SystemModule get(PebbleTalkerService service)
{
    return (SystemModule) service.getModule(MODULE_SYSTEM);
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:5,代碼來源:SystemModule.java

示例13: get

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static ContactsModule get(PebbleTalkerService service)
{
    return (ContactsModule) service.getModule(MODULE_CONTACTS);
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:5,代碼來源:ContactsModule.java

示例14: NumberPickerModule

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public NumberPickerModule(PebbleTalkerService service) {
    super(service);

    phoneNumbers = new ArrayList<PebbleNumberEntry>();
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:6,代碼來源:NumberPickerModule.java

示例15: get

import com.matejdro.pebblecommons.pebble.PebbleTalkerService; //導入依賴的package包/類
public static NumberPickerModule get(PebbleTalkerService service)
{
    return (NumberPickerModule) service.getModule(MODULE_NUMBER_PICKER);
}
 
開發者ID:matejdro,項目名稱:PebbleDialer-Android,代碼行數:5,代碼來源:NumberPickerModule.java


注:本文中的com.matejdro.pebblecommons.pebble.PebbleTalkerService類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。