Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LinkingServiceNotification

Hierarchy

  • LinkingServiceNotification

Index

Properties

SERVICE_ID

SERVICE_ID: number = 1

SERVICE_NAME

SERVICE_NAME: string = "PeripheralDeviceNotification"

Methods

_createPayload

  • _createPayload(message_name: any, params: any): any
  • Parameters

    • message_name: any
    • params: any

    Returns any

_createPayloadConfirmNotifyCategory

  • _createPayloadConfirmNotifyCategory(params: any): any
  • Parameters

    • params: any

    Returns any

_createPayloadGetPdNotifyDetailDataResp

  • _createPayloadGetPdNotifyDetailDataResp(params: any): null | Buffer
  • Parameters

    • params: any

    Returns null | Buffer

_createPayloadNotifyInformation

  • _createPayloadNotifyInformation(params: any): null
  • Parameters

    • params: any

    Returns null

_createPayloadStartPdApplicationResp

  • _createPayloadStartPdApplicationResp(params: any): null | Buffer
  • Parameters

    • params: any

    Returns null | Buffer

_createPropertyBlockBuffer

  • _createPropertyBlockBuffer(pid: any, val_buf: any): Buffer
  • Parameters

    • pid: any
    • val_buf: any

    Returns Buffer

_parseAppName

  • _parseAppName(buf: any): { appName: any; name: string }
  • Parameters

    • buf: any

    Returns { appName: any; name: string }

    • appName: any
    • name: string

_parseAppNameLocal

  • _parseAppNameLocal(buf: any): { appNameLocal: any; name: string }
  • Parameters

    • buf: any

    Returns { appNameLocal: any; name: string }

    • appNameLocal: any
    • name: string

_parseArea

  • _parseArea(buf: any): { area: any; name: string }
  • Parameters

    • buf: any

    Returns { area: any; name: string }

    • area: any
    • name: string

_parseBeepPattern

  • _parseBeepPattern(buf: any): { beepPattern: string[]; name: string }
  • Parameters

    • buf: any

    Returns { beepPattern: string[]; name: string }

    • beepPattern: string[]
    • name: string

_parseCancel

  • _parseCancel(buf: any): { cancelCode: any; cancelText: string; name: string }
  • Parameters

    • buf: any

    Returns { cancelCode: any; cancelText: string; name: string }

    • cancelCode: any
    • cancelText: string
    • name: string

_parseClass

  • _parseClass(buf: any): { class: any; name: string }
  • Parameters

    • buf: any

    Returns { class: any; name: string }

    • class: any
    • name: string

_parseContents

  • _parseContents(buf: any, pid: any): { contents: any; name: string }
  • Parameters

    • buf: any
    • pid: any

    Returns { contents: any; name: string }

    • contents: any
    • name: string

_parseEndDate

  • _parseEndDate(buf: any): { endDate: Date; name: string }
  • Parameters

    • buf: any

    Returns { endDate: Date; name: string }

    • endDate: Date
    • name: string

_parseGetParameterID

  • _parseGetParameterID(buf: any): { getParameterId: any; name: string }
  • Parameters

    • buf: any

    Returns { getParameterId: any; name: string }

    • getParameterId: any
    • name: string

_parseGetParameterLength

  • _parseGetParameterLength(buf: any): { getParameterLength: any; name: string }
  • Parameters

    • buf: any

    Returns { getParameterLength: any; name: string }

    • getParameterLength: any
    • name: string

_parseGetStatus

  • _parseGetStatus(buf: any): { name: string; statusCode: any; statusText: string }
  • Parameters

    • buf: any

    Returns { name: string; statusCode: any; statusText: string }

    • name: string
    • statusCode: any
    • statusText: string

_parseImage

  • _parseImage(buf: any): { image: any; name: string }
  • Parameters

    • buf: any

    Returns { image: any; name: string }

    • image: any
    • name: string

_parseLedPattern

  • _parseLedPattern(buf: any): { LedPattern: string[]; name: string }
  • Parameters

    • buf: any

    Returns { LedPattern: string[]; name: string }

    • LedPattern: string[]
    • name: string

_parseMedia

  • _parseMedia(buf: any): { media: any; name: string }
  • Parameters

    • buf: any

    Returns { media: any; name: string }

    • media: any
    • name: string

_parseMimeTypeForImage

  • _parseMimeTypeForImage(buf: any): { mimeTypeForImage: any; name: string }
  • Parameters

    • buf: any

    Returns { mimeTypeForImage: any; name: string }

    • mimeTypeForImage: any
    • name: string

_parseMimeTypeForMedia

  • _parseMimeTypeForMedia(buf: any): { mimeTypeForMedia: any; name: string }
  • Parameters

    • buf: any

    Returns { mimeTypeForMedia: any; name: string }

    • mimeTypeForMedia: any
    • name: string

_parseNotificationOperation

  • _parseNotificationOperation(buf: any): { name: string; notificationOperationCode: any; notificationOperationText: string }
  • Parameters

    • buf: any

    Returns { name: string; notificationOperationCode: any; notificationOperationText: string }

    • name: string
    • notificationOperationCode: any
    • notificationOperationText: string

_parseNotifyApp

  • _parseNotifyApp(buf: any): { name: string; notifyApp: any }
  • Parameters

    • buf: any

    Returns { name: string; notifyApp: any }

    • name: string
    • notifyApp: any

_parseNotifyCategory

  • _parseNotifyCategory(buf: any): { name: string; notifyCategory: { id: number; name: string }[] }
  • Parameters

    • buf: any

    Returns { name: string; notifyCategory: { id: number; name: string }[] }

    • name: string
    • notifyCategory: { id: number; name: string }[]

_parseNotifyCategoryID

  • _parseNotifyCategoryID(buf: any): { NotifyCategoryText: any; name: string; notifyCategoryId: any }
  • Parameters

    • buf: any

    Returns { NotifyCategoryText: any; name: string; notifyCategoryId: any }

    • NotifyCategoryText: any
    • name: string
    • notifyCategoryId: any

_parseNotifyId

  • _parseNotifyId(buf: any): { name: string; notifyId: any }
  • Parameters

    • buf: any

    Returns { name: string; notifyId: any }

    • name: string
    • notifyId: any

_parsePackage

  • _parsePackage(buf: any): { name: string; package: any }
  • Parameters

    • buf: any

    Returns { name: string; package: any }

    • name: string
    • package: any

_parseParameter

  • _parseParameter(pid: any, buf: any, notify_cateogory_id?: any): any
  • Parameters

    • pid: any
    • buf: any
    • Optional notify_cateogory_id: any

    Returns any

_parseParameterIdList

  • _parseParameterIdList(buf: any, notify_cateogry_id: any): { name: string; parameterIdList: { id: number; name: string }[] }
  • Parameters

    • buf: any
    • notify_cateogry_id: any

    Returns { name: string; parameterIdList: { id: number; name: string }[] }

    • name: string
    • parameterIdList: { id: number; name: string }[]

_parsePerson

  • _parsePerson(buf: any): { name: string; person: any }
  • Parameters

    • buf: any

    Returns { name: string; person: any }

    • name: string
    • person: any

_parseReceiveDate

  • _parseReceiveDate(buf: any): { name: string; receiveDate: Date }
  • Parameters

    • buf: any

    Returns { name: string; receiveDate: Date }

    • name: string
    • receiveDate: Date

_parseResultCode

  • _parseResultCode(buf: any): { name: string; resultCode: any; resultText: string }
  • Parameters

    • buf: any

    Returns { name: string; resultCode: any; resultText: string }

    • name: string
    • resultCode: any
    • resultText: string

_parseRumblingSetting

  • _parseRumblingSetting(buf: any): { name: string; rumblingSetting: { id: number; name: string }[] }
  • Parameters

    • buf: any

    Returns { name: string; rumblingSetting: { id: number; name: string }[] }

    • name: string
    • rumblingSetting: { id: number; name: string }[]

_parseSender

  • _parseSender(buf: any): { name: string; sender: any }
  • Parameters

    • buf: any

    Returns { name: string; sender: any }

    • name: string
    • sender: any

_parseSenderAddress

  • _parseSenderAddress(buf: any): { name: string; senderAddress: any }
  • Parameters

    • buf: any

    Returns { name: string; senderAddress: any }

    • name: string
    • senderAddress: any

_parseSharingInformation

  • _parseSharingInformation(buf: any): { name: string; sharingInformation: any }
  • Parameters

    • buf: any

    Returns { name: string; sharingInformation: any }

    • name: string
    • sharingInformation: any

_parseStartDate

  • _parseStartDate(buf: any): { name: string; startDate: Date }
  • Parameters

    • buf: any

    Returns { name: string; startDate: Date }

    • name: string
    • startDate: Date

_parseText

  • _parseText(buf: any): { name: string; text: any }
  • Parameters

    • buf: any

    Returns { name: string; text: any }

    • name: string
    • text: any

_parseTittle

  • _parseTittle(buf: any): { name: string; title: any }
  • Parameters

    • buf: any

    Returns { name: string; title: any }

    • name: string
    • title: any

_parseUniqueId

  • _parseUniqueId(buf: any): { name: string; uniqueId: any }
  • Parameters

    • buf: any

    Returns { name: string; uniqueId: any }

    • name: string
    • uniqueId: any

_parseVibrationPattern

  • _parseVibrationPattern(buf: any): { name: string; vibrationPattern: string[] }
  • Parameters

    • buf: any

    Returns { name: string; vibrationPattern: string[] }

    • name: string
    • vibrationPattern: string[]

createRequest

  • createRequest(message_name: any, params: any): null | Buffer
  • Parameters

    • message_name: any
    • params: any

    Returns null | Buffer

parsePayload

  • parsePayload(pnum: any, buf: any): any[]
  • Parameters

    • pnum: any
    • buf: any

    Returns any[]

setDeviceInfo

  • setDeviceInfo(info: any): void
  • Parameters

    • info: any

    Returns void

Object literals

MESSAGE_NAME_MAP

MESSAGE_NAME_MAP: object

00

00: string = "CONFIRM_NOTIFY_CATEGORY"

01

01: string = "CONFIRM_NOTIFY_CATEGORY_RESP"

02

02: string = "NOTIFY_INFORMATION"

03

03: string = "GET_PD_NOTIFY_DETAIL_DATA"

04

04: string = "GET_PD_NOTIFY_DETAIL_DATA_RESP"

05

05: string = "NOTIFY_PD_GENERAL_INFORMATION"

06

06: string = "START_PD_APPLICATION"

07

07: string = "START_PD_APPLICATION_RESP"

Generated using TypeDoc