dom/webidl/BluetoothPbapParameters.webidl
author Jamin Liu <jaliu@mozilla.com>
Fri, 21 Aug 2015 09:51:41 +0800
changeset 291242 f7e0cd74c082d5bee3493e39dea048a58af2dd59
parent 290971 ad74716bf6e7077cf5a5636f416a1901ce880263
child 293975 fa0de2cded57cc344972e434a3a479986fa64986
permissions -rw-r--r--
Bug 1180554 - Dispatch events to PBAP event handlers when the PBAP requests comes. r=btian, r=mrbkap

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 */

/**
 * This enum holds the parameters to indicate the properties contained in the
 * requested vCard objects.
 */
enum vCardProperties
{
  "version",
  "fn",
  "n",
  "photo",
  "bday",
  "adr",
  "label",
  "tel",
  "email",
  "mailer",
  "tz",
  "geo",
  "title",
  "role",
  "logo",
  "agent",
  "org",
  "note",
  "rev",
  "sound",
  "url",
  "uid",
  "key",
  "nickname",
  "categories",
  "proid",
  "class",
  "sort-string",
  "x-irmc-call-datetime",
  "x-bt-speeddialkey",
  "x-bt-uci",
  "x-bt-uid"
};

/**
 * This enum holds the parameters to indicate the sorting order of vCard
 * objects.
 */
enum vCardOrderType {
  "alphabetical",
  "indexed",  // default
  "phonetical"
};

/**
 * This enum holds the parameters to indicate the search key of the search
 * operation.
 */
enum vCardSearchKeyType {
  "name",  // default
  "number",
  "sound"
};

/**
 * This enum holds the parameters to indicate the vCard version.
 */
enum vCardVersion {
  "vCard21", // default
  "vCard30"
};

/**
 * This enum holds the parameters to indicate the type of vCard selector.
 */
enum vCardSelectorOp {
  "OR", // default
  "AND"
};