Struct apple_bundle::info_plist::protected_resources::Networking [−][src]
pub struct Networking {
pub local_network_usage_description: Option<String>,
pub nearby_interaction_allow_once_usage_description: Option<String>,
}Expand description
Networking
Fields
local_network_usage_description: Option<String>A message that tells the user why the app is requesting access to the local network.
Any app that uses the local network, directly or indirectly, should include this description. This includes apps that use Bonjour and services implemented with Bonjour, as well as direct unicast or multicast connections to local hosts.
Availability
- iOS 14.0+
- macOS 11.0+
- tvOS 14.0+
Framework
- Network
nearby_interaction_allow_once_usage_description: Option<String>A request for user permission to begin an interaction session with nearby devices.
Before an app starts an interaction session, the system requests permission to share the user’s relative distance and direction with a nearby peer. The framework presents a prompt that displays the string value of this key contained in your project’s Info.plist. Define text that explains your interaction session’s purpose to the user. For more information, see Initiating and Maintaining a Session.
This property is localizable.
Availability
- iOS 14.0+
Framework
- Nearby Interaction
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Networkingimpl Send for Networkingimpl Sync for Networkingimpl Unpin for Networkingimpl UnwindSafe for NetworkingBlanket Implementations
Mutably borrows from an owned value. Read more