Twitch SDK (Internal)
socialjson.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
13 
14 namespace ttv
15 {
16  namespace social
17  {
18  TTV_ErrorCode GenerateActivityJson(const PresenceActivity& activity, json::Value& value);
19 
20  TTV_ErrorCode CreatePresenceActivity(const json::Value& jObject, std::unique_ptr<PresenceActivity>& activity);
21  }
22 }
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
TTV_ErrorCode CreatePresenceActivity(const json::Value &jObject, std::unique_ptr< PresenceActivity > &activity)
TTV_ErrorCode GenerateActivityJson(const PresenceActivity &activity, json::Value &value)
uint32_t TTV_ErrorCode
Definition: errortypes.h:30