add get_string API in PairingDelegate

This commit is contained in:
Hui Peng
2023-03-25 13:26:41 +00:00
parent a8e61673d0
commit 423a5a95d8

View File

@@ -525,6 +525,12 @@ class PairingDelegate:
async def get_number(self) -> int:
return 0
async def get_string(self, max_length) -> Optional[str]:
'''
Returns a string whose utf-8 encoding is up to max_length bytes.
'''
return None
# pylint: disable-next=unused-argument
async def display_number(self, number: int, digits: int) -> None:
pass