[−]Struct jni_android_sys::android::net::wifi::aware::PublishDiscoverySession
public class PublishDiscoverySession
Required feature: "android-net-wifi-aware-PublishDiscoverySession"
Methods
impl PublishDiscoverySession
pub fn updatePublish<'env>(
&'env self,
arg0: impl Into<Option<&'env PublishConfig>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PublishConfig>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-wifi-aware-PublishConfig"
Methods from Deref<Target = DiscoverySession>
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn sendMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env PeerHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PeerHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-wifi-aware-PeerHandle"
pub fn createNetworkSpecifierOpen<'env>(
&'env self,
arg0: impl Into<Option<&'env PeerHandle>>
) -> Result<Option<Local<'env, NetworkSpecifier>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PeerHandle>>
) -> Result<Option<Local<'env, NetworkSpecifier>>, Local<'env, Throwable>>
Required features: "android-net-NetworkSpecifier", "android-net-wifi-aware-PeerHandle"
pub fn createNetworkSpecifierPassphrase<'env>(
&'env self,
arg0: impl Into<Option<&'env PeerHandle>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, NetworkSpecifier>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PeerHandle>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, NetworkSpecifier>>, Local<'env, Throwable>>
createNetworkSpecifierPassphrase
Required features: "android-net-NetworkSpecifier", "android-net-wifi-aware-PeerHandle", "java-lang-String"
Trait Implementations
impl AsJValue for PublishDiscoverySession
impl AsValidJObjectAndEnv for PublishDiscoverySession
impl Deref for PublishDiscoverySession
type Target = DiscoverySession
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for PublishDiscoverySession
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PublishDiscoverySession
impl !Send for PublishDiscoverySession
impl !Sync for PublishDiscoverySession
impl Unpin for PublishDiscoverySession
impl UnwindSafe for PublishDiscoverySession
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,