DConnectProfile
クラスを継承すること。public class NotificationProfile extends DConnectProfile
スマートデバイスのノーティフィケーションの操作機能を提供するAPI.
スマートデバイスのノーティフィケーションの操作機能を提供するデバイスプラグインは当クラスを継承し、対応APIを実装すること。
DConnectProfile.Responder
mApis, mLogger
コンストラクタと説明 |
---|
NotificationProfile()
非推奨です。
|
修飾子とタイプ | メソッドと説明 |
---|---|
static java.lang.String |
getBody(android.content.Intent request)
非推奨です。
リクエストから通知メッセージを取得する.
|
static Direction |
getDir(android.content.Intent request)
非推奨です。
リクエストから向きを取得する.
|
static java.lang.String |
getLang(android.content.Intent request)
非推奨です。
リクエストから言語を取得する.
|
static java.lang.String |
getNotificationId(android.content.Intent request)
非推奨です。
リクエストからノーティフィケーションIDを取得する.
|
java.lang.String |
getProfileName()
非推奨です。
プロファイル名を取得する.
|
static java.lang.String |
getTag(android.content.Intent request)
非推奨です。
リクエストからタグを取得する.
|
static NotificationType |
getType(android.content.Intent request)
非推奨です。
リクエストから通知タイプを取得する.
|
static java.lang.String |
getUri(android.content.Intent request)
非推奨です。
リクエストからファイルのURIを取得する.
|
static void |
setNotificationId(android.content.Intent response,
java.lang.String notificationId)
非推奨です。
レスポンスに通知IDを設定する.
|
addApi, findApi, findApi, getAccessToken, getApi, getApiList, getAttribute, getContentData, getContext, getData, getInterface, getOrigin, getPluginContext, getProduct, getProfile, getRequestCode, getResult, getService, getServiceID, getSessionKey, getVersion, hasApi, isEqual, isIgnoredProfile, isUseLocalOAuth, onRequest, parseBoolean, parseBoolean, parseByte, parseByte, parseDouble, parseDouble, parseFloat, parseFloat, parseInteger, parseInteger, parseLong, parseLong, parseShort, parseShort, removeApi, sendEvent, sendEvent, sendResponse, setAccessToken, setApi, setAttribute, setContext, setInterface, setPluginContext, setProduct, setProfile, setRequestCode, setResponder, setResult, setService, setServiceID, setSessionKey, setUnsupportedError, setVersion
public final java.lang.String getProfileName()
DConnectProfile
getProfileName
クラス内 DConnectProfile
public static void setNotificationId(android.content.Intent response, java.lang.String notificationId)
response
- レスポンスパラメータnotificationId
- 通知IDpublic static NotificationType getType(android.content.Intent request)
request
- リクエストパラメータNotificationType#UNKNOWN
を返す。
NotificationType#PHONE
NotificationType#MAIL
NotificationType#SMS
NotificationType#EVENT
NotificationType#UNKNOWN
public static Direction getDir(android.content.Intent request)
request
- リクエストパラメータDirection#UNKNOWN
を返す。
Direction#AUTO
Direction#RIGHT_TO_LEFT
Direction#LEFT_TO_RIGHT
Direction#UNKNOWN
public static java.lang.String getLang(android.content.Intent request)
request
- リクエストパラメータpublic static java.lang.String getBody(android.content.Intent request)
request
- リクエストパラメータpublic static java.lang.String getTag(android.content.Intent request)
request
- リクエストパラメータpublic static java.lang.String getUri(android.content.Intent request)
request
- リクエストパラメータpublic static java.lang.String getNotificationId(android.content.Intent request)
request
- リクエストパラメータ