zdk.net
BanafoRequestState.h
1 //
2 // BanafoRequestState.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_BanafoRequestState_h
7 #define ZDK_NET_BanafoRequestState_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "BanafoRequestStateType.h"
12 #include "UploadProgress.h"
13 #include "ZHandle.h"
14 
15 using namespace System::Collections::Generic;
16 
17 namespace ZDK_NET
18 {
19  ref class UploadProgress;
20 
25  public ref class BanafoRequestState : ZHandle
26  {
27  public:
28  ZDK::IBanafoRequestState* cppRef = nullptr;
29 
30  BanafoRequestState(ZDK::Shared::BanafoRequestState src);
33 
42  property ZDK_NET::BanafoRequestStateType State
43  {
44  ZDK_NET::BanafoRequestStateType get();
45  }
46 
59  property int NetworkStatusCode
60  {
61  int get();
62  }
63 
70  property System::String^ Reason
71  {
72  System::String^ get();
73  }
74 
81  property System::String^ Response
82  {
83  System::String^ get();
84  }
85 
94  property ZDK_NET::UploadProgress^ Progress
95  {
97  }
98 
99  virtual long long Handle() override;
100 
101  virtual void Initialize() override;
102 
103  virtual void ReleaseReference() override;
104 
105  };
106 }
107 
108 #endif
ZDK_NET::UploadProgress
Upload progress.
Definition: UploadProgress.h:23
ZDK_NET::BanafoRequestState
Banafo Request state.
Definition: BanafoRequestState.h:26
ZDK_NET::ZHandle
Definition: ZHandle.h:18