সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
gpg:: সংযোগ প্রতিক্রিয়া
#include <nearby_connection_types.h>
একটি সংযোগ অনুরোধের একটি প্রতিক্রিয়া.
সারাংশ
পাবলিক প্রকার |
---|
StatusCode | enum স্ট্যাটাস কোড মান status ক্ষেত্রে ফিরে. |
পাবলিক বৈশিষ্ট্য |
---|
payload | std::vector< uint8_t > একটি কাস্টম বার্তা যা অ্যাপটি সংযোগ প্রতিক্রিয়া সহ পাঠাতে পারে। |
remote_endpoint_id | std::string রিমোট এন্ডপয়েন্টের আইডি যেখানে একটি সংযোগের অনুরোধ পাঠানো হয়েছিল। |
status | সংযোগ গ্রহণ করা হয়েছে কিনা তা নির্দেশ করে স্ট্যাটাস কোড। |
পাবলিক প্রকার
স্ট্যাটাসকোড
gpg::ConnectionResponse::StatusCode
স্ট্যাটাস কোড মান status
ক্ষেত্রে ফিরে.
পাবলিক বৈশিষ্ট্য
পেলোড
std::vector< uint8_t > gpg::ConnectionResponse::payload
একটি কাস্টম বার্তা যা অ্যাপটি সংযোগ প্রতিক্রিয়া সহ পাঠাতে পারে।
remote_endpoint_id
std::string gpg::ConnectionResponse::remote_endpoint_id
রিমোট এন্ডপয়েন্টের আইডি যেখানে একটি সংযোগের অনুরোধ পাঠানো হয়েছিল।
অবস্থা
StatusCode gpg::ConnectionResponse::status
সংযোগ গ্রহণ করা হয়েছে কিনা তা নির্দেশ করে স্ট্যাটাস কোড।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# gpg::ConnectionResponse Struct Reference\n\ngpg::ConnectionResponse\n=======================\n\n`#include \u003cnearby_connection_types.h\u003e`\n\nA response to a connection request.\n\nSummary\n-------\n\n| ### Public types ||\n|-------------------------------------------------------------------------------------|---------------------------------------------------------|\n| [StatusCode](#structgpg_1_1_connection_response_1a120a0d5fbf17843345f96c502c05c17a) | enum Status code values returned in the `status` field. |\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [payload](#structgpg_1_1_connection_response_1a57041d0a06a05aa78d5abaf80fcbdb05) | `std::vector\u003c uint8_t \u003e` A custom message that the app can send with the connection response. |\n| [remote_endpoint_id](#structgpg_1_1_connection_response_1a87f9712d85f7ad126681fdf3b63fe3c0) | `std::string` The ID of the remote endpoint to which a connection request was sent. |\n| [status](#structgpg_1_1_connection_response_1a0dce7adbcc19b501e6d6ce62da7fb64d) | [StatusCode](/games/services/cpp/api/struct/gpg/connection-response#structgpg_1_1_connection_response_1a120a0d5fbf17843345f96c502c05c17a) The status code indicating whether the connection was accepted. |\n\nPublic types\n------------\n\n### StatusCode\n\n```c++\n gpg::ConnectionResponse::StatusCode\n``` \nStatus code values returned in the `status` field.\n\nPublic attributes\n-----------------\n\n### payload\n\n```c++\nstd::vector\u003c uint8_t \u003e gpg::ConnectionResponse::payload\n``` \nA custom message that the app can send with the connection response. \n\n### remote_endpoint_id\n\n```c++\nstd::string gpg::ConnectionResponse::remote_endpoint_id\n``` \nThe ID of the remote endpoint to which a connection request was sent. \n\n### status\n\n```c++\nStatusCode gpg::ConnectionResponse::status\n``` \nThe status code indicating whether the connection was accepted."]]