PartyNetwork::GetDevices
Gets the devices in this network.
Syntax
PartyError GetDevices(
uint32_t* deviceCount,
PartyDeviceArray* devices
)
Parameters
deviceCount
uint32_t*
output
The output number of devices in this network.
devices
PartyDeviceArray*
library-allocated output array of size *deviceCount
A library-allocated output array containing the devices in this network.
Return value
PartyError
c_partyErrorSuccess
if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().
Remarks
Once a PartyRemoteDeviceLeftNetworkStateChange has been provided by PartyManager::StartProcessingStateChanges(), the remote device will no longer be present in the array returned by this method. The local device is always in the array.
The memory for the returned array is invalidated whenever the title calls PartyManager::StartProcessingStateChanges().
Requirements
Header: Party.h
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin