decord/source/modules/activities/utils/getPlatform.tsx

22 lines
603 B
TypeScript
Raw Normal View History

// Module ID: 9553
// Function ID: 9554
2026-07-20 16:05:17 +00:00
// Name: getPlatform
// Dependencies: [1895, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 9553 (getPlatform)
import Server from "Server" /* 1895 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/activities/utils/getPlatform.tsx");
2026-07-20 16:05:17 +00:00
export default function getPlatform(arg0) {
if ("android" === arg0) {
return Server.EmbeddedActivitySupportedPlatforms.ANDROID;
2026-07-20 16:05:17 +00:00
} else if ("ios" === arg0) {
return Server.EmbeddedActivitySupportedPlatforms.IOS;
2026-07-20 16:05:17 +00:00
} else {
return Server.EmbeddedActivitySupportedPlatforms.WEB;
2026-07-20 16:05:17 +00:00
}
};