agora-react-native-rtm
Version:
React Native around the Agora RTM SDKs for Android and iOS agora
72 lines (66 loc) • 1.46 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MetadataOptions = exports.MetadataItem = exports.Metadata = exports.IRtmStorage = void 0;
/// Generated by terra, DO NOT MODIFY BY HAND.
/**
* Metadata options.
*/
class MetadataOptions {
/**
* Indicates whether or not to notify server update the modify timestamp of metadata
*/
recordTs = false;
/**
* Indicates whether or not to notify server update the modify user id of metadata
*/
recordUserId = false;
constructor(props) {
Object.assign(this, props);
}
}
exports.MetadataOptions = MetadataOptions;
class MetadataItem {
/**
* The key of the metadata item.
*/
/**
* The value of the metadata item.
*/
/**
* The User ID of the user who makes the latest update to the metadata item.
*/
/**
* The revision of the metadata item.
*/
revision = -1;
/**
* The Timestamp when the metadata item was last updated.
*/
updateTs = 0;
constructor(props) {
Object.assign(this, props);
}
}
exports.MetadataItem = MetadataItem;
class Metadata {
/**
* the major revision of metadata.
*/
majorRevision = -1;
/**
* The metadata item array.
*/
/**
* The items count.
*/
itemCount = 0;
constructor(props) {
Object.assign(this, props);
}
}
exports.Metadata = Metadata;
class IRtmStorage {}
exports.IRtmStorage = IRtmStorage;
//# sourceMappingURL=IAgoraRtmStorage.js.map