@azerion/bluestack-sdk-react-native
Version:
BlueStack provides functionalities for monetizing your mobile application: from premium sales with rich media, video and innovative formats, it facilitates inserting native mobile ads as well all standard display formats. BlueStack SDK is a library that a
29 lines (28 loc) • 995 B
TypeScript
declare const gender: readonly ["Male", "Female", "Unknown"];
export type GenderType = (typeof gender)[number];
declare const provider: readonly ["", "network", "full", "gps", "passive"];
export type ProviderType = (typeof provider)[number];
export type LocationType = {
latitude: number;
longitude: number;
provider: ProviderType;
};
export declare class BluestackPreference {
private age;
private location;
private consentFlag;
private language;
private gender;
private keyword;
private contentUrl;
setAge(age: number): void;
isProviderType: (x: any) => x is "" | "network" | "full" | "gps" | "passive";
setLocation(location: LocationType, consentFlag: number): void;
setLanguage(language: string): void;
isGenderType: (x: any) => x is "Male" | "Female" | "Unknown";
setGender(g: GenderType): void;
setKeyword(keyword: string): void;
setContentUrl(contentUrl: string): void;
getPreferenceJSON(): string;
}
export {};