boda_jsEnv/env_xbb_lastest_bo/env/MediaMetadata.js
xuxiaobo-bobo 24cbc7a3fa '0711'
2023-07-11 15:19:33 +08:00

56 lines
2.0 KiB
JavaScript

// MediaMetadata对象
MediaMetadata = function MediaMetadata() {
bodavm.toolsFunc.symbolProperty(this);
if (arg != 'bobo') {
console.log_copy('MediaMetadata 实例化对象 --->', JSON.stringify_bo(arguments, function (k, v) {
if (v == window) {
return 'window';
} else {
return v;
}
}));
}
;
};
bodavm.toolsFunc.safeProto(MediaMetadata, "MediaMetadata");
bodavm.toolsFunc.defineProperty(MediaMetadata.prototype, "title", {
configurable: true,
enumerable: true,
get: function title() {
return bodavm.toolsFunc.dispatch(this, MediaMetadata.prototype, "MediaMetadata", "title_get", arguments);
},
set: function title() {
return bodavm.toolsFunc.dispatch(this, MediaMetadata.prototype, "MediaMetadata", "title_set", arguments);
}
});
bodavm.toolsFunc.defineProperty(MediaMetadata.prototype, "artist", {
configurable: true,
enumerable: true,
get: function artist() {
return bodavm.toolsFunc.dispatch(this, MediaMetadata.prototype, "MediaMetadata", "artist_get", arguments);
},
set: function artist() {
return bodavm.toolsFunc.dispatch(this, MediaMetadata.prototype, "MediaMetadata", "artist_set", arguments);
}
});
bodavm.toolsFunc.defineProperty(MediaMetadata.prototype, "album", {
configurable: true,
enumerable: true,
get: function album() {
return bodavm.toolsFunc.dispatch(this, MediaMetadata.prototype, "MediaMetadata", "album_get", arguments);
},
set: function album() {
return bodavm.toolsFunc.dispatch(this, MediaMetadata.prototype, "MediaMetadata", "album_set", arguments);
}
});
bodavm.toolsFunc.defineProperty(MediaMetadata.prototype, "artwork", {
configurable: true,
enumerable: true,
get: function artwork() {
return bodavm.toolsFunc.dispatch(this, MediaMetadata.prototype, "MediaMetadata", "artwork_get", arguments);
},
set: function artwork() {
return bodavm.toolsFunc.dispatch(this, MediaMetadata.prototype, "MediaMetadata", "artwork_set", arguments);
}
});