UNPKG

@snowplow/react-native-tracker

Version:
19 lines 943 B
import { CorePluginConfiguration, TrackerCore } from '@snowplow/tracker-core'; import { ScreenSize, SubjectConfiguration } from './types'; export declare function newSubject(core: TrackerCore, configuration?: SubjectConfiguration): { subjectPlugin: CorePluginConfiguration; properties: { setUserId: (userId: string) => void; setIpAddress: (ip: string) => void; setUseragent: (useragent: string) => void; setTimezone: (timezone: string) => void; setLanguage: (lang: string) => void; setScreenResolution: (screenSize: ScreenSize) => void; setNetworkUserId: (userId: string | undefined) => void; setDomainUserId: (userId: string | undefined) => void; setSubjectData: (data: SubjectConfiguration) => void; setColorDepth: (colorDepth: number) => void; setScreenViewport: (screenSize: ScreenSize) => void; }; }; //# sourceMappingURL=subject.d.ts.map