Skip to content

SesameTouchのFingerPrintのname設定方法についての質問 #94

@engarnet

Description

@engarnet

SesameTouch/SesameTouchProのFingerPrintのnameの設定について教えていただきたいことがあります

nameの設定にはCHSesameTouchProDevice.fingerPrintsChange() を使用していました

ただ、2025年8月ごろにSDKのIF変更がありCHSesameTouchProDeviceクラスが削除され、代わりにCHFingerPrintCapable.fingerPrintsChange()
が追加されていました

以前使っていたCHSesameTouchProDevice.fingerPrintsChange()では日本語を含む任意の文字列nameに設定可能でした
ただ、 新しいCHFingerPrintCapable.fingerPrintsChange() ではhex値以外をパラメータに渡した場合には以下の例外が発生するようになっています

java.lang.NumberFormatException: For input string: "あ" under radix 16
    at java.lang.Integer.parseInt(Integer.java:781)
    at co.candyhouse.sesame.open.device.sesameBiometric.capability.fingerPrint.CHFingerPrintCapableImpl.fingerPrintsChange(r8-map-id-681f695cbacd10e37396a94257f36c12b90f66d6b7e158e4d9f98925d617f178:32)
    at co.candyhouse.sesame.ble.os3.CHSesameBiometricDeviceImpl.fingerPrintsChange(Unknown Source:2)

私どものアプリでは従来よりSesameSDKを使って指紋データに任意の名前を設定する機能があります

このため、最新のSDKを使って以前と同様に任意の文字列をnameに設定する方法を教えていただきたいです

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions