{"__v":13,"_id":"56bad1cbf60d630d006885b3","category":{"__v":2,"_id":"563d411de79f670d00a10a5f","pages":["56bad1cbf60d630d006885b3","56bad3e4959bd90d00afb079"],"project":"55f0757d4624ec2d00814345","version":"55f0b2b5f3735d0d00691ffe","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-11-07T00:09:01.516Z","from_sync":false,"order":4,"slug":"android-sdk","title":"Android SDK"},"parentDoc":null,"project":"55f0757d4624ec2d00814345","user":"55f0756a1e63fc37004b8d2b","version":{"__v":9,"_id":"55f0b2b5f3735d0d00691ffe","project":"55f0757d4624ec2d00814345","createdAt":"2015-09-09T22:29:09.118Z","releaseDate":"2015-09-09T22:29:09.118Z","categories":["55f0b2b5f3735d0d00691fff","55f0b2b5f3735d0d00692000","55f0b2b5f3735d0d00692001","55f0bd67d5d8fc0d00ca6f44","55f0cde9d5d8fc0d00ca6f55","563a8a62a8ba320d00106830","563a8ac9a8ba320d00106832","563d410f31f7580d00511e53","563d411de79f670d00a10a5f","563d412a31f7580d00511e54","566a206f74d574170070b640"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-10T05:59:39.381Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"These are individual manager classes provided by the TigerConnect Android SDK.  Each manager is a singleton and each object can be retrieved by the following:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \" TT.getInstance().getManagerName();\",\n      \"language\": \"java\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Don’t use any manager directly\",\n  \"body\": \"It is important to not use any manager directly but instead, leverage the instance.  This only needs to be completed once for as long as the app is alive. However, if the app is killed in the background, the associated manager will need to be initialized again.\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"TigertextAccountManager\",\n    \"0-1\": \"This is used to login and logout calls. It provides appropriate callbacks for login and logout success and failure.\",\n    \"1-0\": \"OrganizationManager\",\n    \"2-0\": \"RosterManager\",\n    \"3-0\": \"ConversationManager\",\n    \"4-0\": \"SearchManager\",\n    \"5-0\": \"TTPubsub\",\n    \"5-1\": \"This is a broadcast manager which runs on a background thread. At this moment it broadcast just ROSTER_CREATED event.\",\n    \"4-1\": \"This manager is used to search for people in the organization.\",\n    \"3-1\": \"This is a class which is a manager for all the message related stuff. Some methods are still part of “Conversation” class but gradually \\\"Conversation\\\" class will be deprecated. If you find same methods in both Conversation and ConversationManager, prefer ConversationManager one.\",\n    \"2-1\": \"This is used for all the operations related to roster.\",\n    \"1-1\": \"This contains information about all organizations that the user is apart of.\",\n    \"h-1\": \"Description\",\n    \"h-0\": \"Android SDK Manager\"\n  },\n  \"cols\": 2,\n  \"rows\": 6\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Where can I find additional usage details?\",\n  \"body\": \"Be sure to check out the class docs for additional details around manager usage.  Also, if you have any questions, don't hesitate to [Contact Us](mailto:developersupport:::at:::tigertext.com?Subject=Android%20SDK%20Help\\\").\"\n}\n[/block]","excerpt":"API reference material for the TigerConnect Android SDK.","slug":"android-api-reference","type":"basic","title":"API Reference"}

API Reference

API reference material for the TigerConnect Android SDK.

These are individual manager classes provided by the TigerConnect Android SDK. Each manager is a singleton and each object can be retrieved by the following: [block:code] { "codes": [ { "code": " TT.getInstance().getManagerName();", "language": "java" } ] } [/block] [block:callout] { "type": "warning", "title": "Don’t use any manager directly", "body": "It is important to not use any manager directly but instead, leverage the instance. This only needs to be completed once for as long as the app is alive. However, if the app is killed in the background, the associated manager will need to be initialized again." } [/block] [block:parameters] { "data": { "0-0": "TigertextAccountManager", "0-1": "This is used to login and logout calls. It provides appropriate callbacks for login and logout success and failure.", "1-0": "OrganizationManager", "2-0": "RosterManager", "3-0": "ConversationManager", "4-0": "SearchManager", "5-0": "TTPubsub", "5-1": "This is a broadcast manager which runs on a background thread. At this moment it broadcast just ROSTER_CREATED event.", "4-1": "This manager is used to search for people in the organization.", "3-1": "This is a class which is a manager for all the message related stuff. Some methods are still part of “Conversation” class but gradually \"Conversation\" class will be deprecated. If you find same methods in both Conversation and ConversationManager, prefer ConversationManager one.", "2-1": "This is used for all the operations related to roster.", "1-1": "This contains information about all organizations that the user is apart of.", "h-1": "Description", "h-0": "Android SDK Manager" }, "cols": 2, "rows": 6 } [/block] [block:callout] { "type": "info", "title": "Where can I find additional usage details?", "body": "Be sure to check out the class docs for additional details around manager usage. Also, if you have any questions, don't hesitate to [Contact Us](mailto:developersupport@tigertext.com?Subject=Android%20SDK%20Help\")." } [/block]