{"_id":"597f6bb818d5a5001e81a74c","category":{"_id":"597f6bb818d5a5001e81a749","version":"597f6bb818d5a5001e81a747","project":"56e6e8b9cec7530e006a7133","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-14T20:46:33.424Z","from_sync":false,"order":1,"slug":"class-reference","title":"Class Reference"},"project":"56e6e8b9cec7530e006a7133","user":"56e6d120f3b12a3200df21ba","version":{"_id":"597f6bb818d5a5001e81a747","project":"56e6e8b9cec7530e006a7133","__v":1,"createdAt":"2017-07-31T17:41:12.018Z","releaseDate":"2017-07-31T17:41:12.018Z","categories":["597f6bb818d5a5001e81a748","597f6bb818d5a5001e81a749"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"0.4.0","version":"0.4.0"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-03-14T20:52:39.324Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"Initializes BuzzSDK including options.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"NSDictionary *sdkOptions = :::at:::{\\n  // Remove Ad button image Name\\n  kBUZZSDKOptionRemoveAdsAlertTextKey : @\\\"Would you like to stop seeing ads on your app?\\\\nTap OK for premium!\\\",\\n};\\n\\n[BuzzSDK startWithAPIKey: @\\\"YOUR_API_KEY\\\" secretKey: @\\\"YOUR_SECRET_KEY\\\" andSDKOptions:sdkOptions];\",\n      \"language\": \"objectivec\"\n    },\n    {\n      \"code\": \"let sdkOptions = [\\n  // Remove Ad button image Name\\n  kBUZZSDKOptionRemoveAdsAlertTextKey : \\\"Would you like to stop seeing ads on your app?\\\\nTap OK for premium!\\\",\\n]\\n\\nBuzzSDK.startWithAPIKey(\\\"YOUR_API_KEY\\\", secretKey: \\\"YOUR_SECRET_KEY\\\", andSDKOptions: sdkOptions)\",\n      \"language\": \"swift\"\n    }\n  ]\n}\n[/block]\n**Parameters:** \n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"\",\n    \"0-0\": \"APIKey\",\n    \"1-0\": \"secretKey\",\n    \"2-0\": \"SDKOptions\",\n    \"0-1\": \"You can look up your API key in the dashboard.\",\n    \"1-1\": \"You can look up your secret key in the dashboard.\",\n    \"2-1\": \"A dictionary containing the initialization options.\"\n  },\n  \"cols\": 2,\n  \"rows\": 3\n}\n[/block]","excerpt":"","slug":"startwithapikeysecretkeyandsdkoptions","type":"basic","title":"startWithAPIKey:secretKey:andSDKOptions:"}

startWithAPIKey:secretKey:andSDKOptions:


Initializes BuzzSDK including options. [block:code] { "codes": [ { "code": "NSDictionary *sdkOptions = @{\n // Remove Ad button image Name\n kBUZZSDKOptionRemoveAdsAlertTextKey : @\"Would you like to stop seeing ads on your app?\\nTap OK for premium!\",\n};\n\n[BuzzSDK startWithAPIKey: @\"YOUR_API_KEY\" secretKey: @\"YOUR_SECRET_KEY\" andSDKOptions:sdkOptions];", "language": "objectivec" }, { "code": "let sdkOptions = [\n // Remove Ad button image Name\n kBUZZSDKOptionRemoveAdsAlertTextKey : \"Would you like to stop seeing ads on your app?\\nTap OK for premium!\",\n]\n\nBuzzSDK.startWithAPIKey(\"YOUR_API_KEY\", secretKey: \"YOUR_SECRET_KEY\", andSDKOptions: sdkOptions)", "language": "swift" } ] } [/block] **Parameters:** [block:parameters] { "data": { "h-0": "", "0-0": "APIKey", "1-0": "secretKey", "2-0": "SDKOptions", "0-1": "You can look up your API key in the dashboard.", "1-1": "You can look up your secret key in the dashboard.", "2-1": "A dictionary containing the initialization options." }, "cols": 2, "rows": 3 } [/block]