pub unsafe trait NSObjectSFAuthorizationViewDelegate:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn authorizationViewDidAuthorize(
&self,
view: Option<&SFAuthorizationView>,
) { ... }
unsafe fn authorizationViewDidDeauthorize(
&self,
view: Option<&SFAuthorizationView>,
) { ... }
unsafe fn authorizationViewShouldDeauthorize(
&self,
view: Option<&SFAuthorizationView>,
) -> bool { ... }
unsafe fn authorizationViewCreatedAuthorization(
&self,
view: Option<&SFAuthorizationView>,
) { ... }
unsafe fn authorizationViewReleasedAuthorization(
&self,
view: Option<&SFAuthorizationView>,
) { ... }
unsafe fn authorizationViewDidHide(
&self,
view: Option<&SFAuthorizationView>,
) { ... }
}Available on crate feature
SFAuthorizationView only.Expand description
Category “SFAuthorizationViewDelegate” on NSObject.
Optionally implement these delegate methods to obtain the state of the authorization object.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.