Skip to content
Clone
main
28 lines 518 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Android;
impl Platform for Android {
fn id(&self) -> &'static str {
"android"
}
fn name(&self) -> &'static str {
"Android"
}
fn category(&self) -> Category {
Category::Dev
}
fn domains(&self) -> &'static [&'static str] {
&["developer.android.com", "android.com"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Android = Android;