class PlatformType(bb.Union): (source)
Possible platforms on which a user may view content. This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar seen_state.PlatformType.web: The content was viewed on the web. :ivar seen_state.PlatformType.desktop: The content was viewed on a desktop client. :ivar seen_state.PlatformType.mobile_ios: The content was viewed on a mobile iOS client. :ivar seen_state.PlatformType.mobile_android: The content was viewed on a mobile android client. :ivar seen_state.PlatformType.api: The content was viewed from an API client. :ivar seen_state.PlatformType.unknown: The content was viewed on an unknown platform. :ivar seen_state.PlatformType.mobile: The content was viewed on a mobile client. DEPRECATED: Use mobile_ios or mobile_android instead.
Method | is |
Check if the union tag is ``api``. |
Method | is |
Check if the union tag is ``desktop``. |
Method | is |
Check if the union tag is ``mobile``. |
Method | is |
Check if the union tag is ``mobile_android``. |
Method | is |
Check if the union tag is ``mobile_ios``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``unknown``. |
Method | is |
Check if the union tag is ``web``. |
Class Variable | api |
Undocumented |
Class Variable | desktop |
Undocumented |
Class Variable | mobile |
Undocumented |
Class Variable | mobile |
Undocumented |
Class Variable | mobile |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | unknown |
Undocumented |
Class Variable | web |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |