PNDataSyncClassLevel

The level at which a DataSync entity class is defined. Used on the request side of DataSync APIs (e.g. createChannel / getChannels); the enum's getValue is written to the entity_class_level wire parameter.

The read side (e.g. PNDataSyncChannel.getClassLevel()) is modeled as a String rather than this enum, so a future or unexpected server value never fails deserialization.

Entries

Link copied to clipboard

Class defined at the global level (shared across all keysets).

Link copied to clipboard

Class defined at the subscribe-key level.

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.