cupertino-docs/docs/securityinterface/documentation_securityinterface_sfauthorizationpluginview_setbutton_enabled_7bdcb1d8.json
Mihaela M af3fd53e24 docs: complete Apple framework documentation (385 frameworks, 113k files)
Adds missing docs for 186 frameworks including Matter (25k+ pages),
CoreGraphics, CoreMedia, IOBluetooth, HIDDriverKit, and more.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:03:56 +01:00

41 lines
2.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"abstract" : "Enables or disables a button in the authorization plug-ins user interface.",
"codeExamples" : [
],
"contentHash" : "d1687405f626d64bceb825bd0a420f986d993cddef1fe088d68023f2cc7557de",
"crawledAt" : "2026-03-10T21:50:21Z",
"declaration" : {
"code" : "func setButton(_ inButtonType: SFButtonType, enabled inEnabled: Bool)",
"language" : "swift"
},
"id" : "714ECEF0-8576-4E8B-B9D8-34BD491120A4",
"kind" : "method",
"language" : "swift",
"module" : "Security Interface",
"platforms" : [
"macOS"
],
"rawMarkdown" : "---\nsource: https:\/\/developer.apple.com\/documentation\/SecurityInterface\/SFAuthorizationPluginView\/setButton(_:enabled:)\ncrawled: 2026-03-10T21:50:21Z\n---\n\n# setButton(_:enabled:)\n\n**Instance Method**\n\nEnables or disables a button in the authorization plug-ins user interface.\n\n## Declaration\n\n```swift\nfunc setButton(_ inButtonType: SFButtonType, enabled inEnabled: Bool)\n```\n\n## Parameters\n\n- **inButtonType**: The type of the button.\n- **inEnabled**: [doc:\/\/com.apple.documentation\/documentation\/Swift\/true] to enable the button, [doc:\/\/com.apple.documentation\/documentation\/Swift\/false] to disable the button.\n\n## Communicating with the Authorization Plug-in\n\n- **display()**: Displays the user interface provided by the authorization plug-in view subclass.\n- **update()**: Tells the authorization plug-in to get and display the appropriate view in the authorization plug-ins user interface.\n\n",
"sections" : [
{
"content" : "",
"items" : [
{
"description" : "Displays the user interface provided by the authorization plug-in view subclass.",
"name" : "display()",
"url" : "https:\/\/developer.apple.com\/documentation\/SecurityInterface\/SFAuthorizationPluginView\/display()"
},
{
"description" : "Tells the authorization plug-in to get and display the appropriate view in the authorization plug-ins user interface.",
"name" : "update()",
"url" : "https:\/\/developer.apple.com\/documentation\/SecurityInterface\/SFAuthorizationPluginView\/update()"
}
],
"title" : "Communicating with the Authorization Plug-in"
}
],
"source" : "appleJSON",
"title" : "setButton(_:enabled:)",
"url" : "https:\/\/developer.apple.com\/documentation\/SecurityInterface\/SFAuthorizationPluginView\/setButton(_:enabled:)"
}