Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Anleitung zur Fehlerbehebung Seite 79

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 286
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 78
79
4: Managing data
Uniquely identify each record
type in a SyncCollection.
>Invoke the SyncCollectionSchema.setDefaultRecordType()method. The following example
shows only one record type, so it uses the default record type:
private static final int DEFAULT_RECORD_TYPE = 1;
_schema = new SyncCollectionSchema();
_schema.setDefaultRecordType(DEFAULT_RECORD_TYPE);
Uniquely identify each record
in a SyncCollection.
>Invoke the SyncCollectionSchema.setKeyFieldIDs() method.
private static final int[] KEY_FIELD_IDS = new int[] {FIELDTAG_FIRST_NAME,
FIELDTAG_LAST_NAME};
_schema.setKeyFieldIds(DEFAULT_RECORD_TYPE, KEY_FIELD_IDS);
Task Steps
Seitenansicht 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 285 286

Kommentare zu diesen Handbüchern

Keine Kommentare